public class Base64Binary extends Object implements OdfDataType
Constructor and Description |
---|
Base64Binary(byte[] bytes)
Construct an newly Base64Binary object that represents the specified
byte[] value
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
get byte[] from Base64Binary
|
static boolean |
isValid(String stringValue)
check if the specified String is a valid base64Binary data type
|
String |
toString()
Returns a String Object representing this Base64Binary's value
|
static Base64Binary |
valueOf(String stringValue)
Returns a Base64Binary instance representing the specified String value
|
public Base64Binary(byte[] bytes) throws NumberFormatException
bytes
- the value to be represented by the Base64Binary ObjectNumberFormatException
- If the parameter is not a valid Base64Binary.public String toString()
public static Base64Binary valueOf(String stringValue) throws NumberFormatException
stringValue
- a String valueNumberFormatException
- If the parameter is not a valid Base64Binary.public byte[] getBytes()
public static boolean isValid(String stringValue)
stringValue
- the value to be testedCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.