|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.odfdom.type.Base64Binary
public class Base64Binary
This class represents the in OpenDocument format used data type base64Binary
Constructor Summary | |
---|---|
Base64Binary(byte[] bytes)
Construct an newly Base64Binary object that represents the specified byte[] value |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Base64Binary(byte[] bytes) throws NumberFormatException
bytes
- the value to be represented by the Base64Binary Object
NumberFormatException
- If the parameter is not a valid Base64Binary.Method Detail |
---|
public String toString()
toString
in class Object
public static Base64Binary valueOf(String stringValue) throws NumberFormatException
stringValue
- a String value
NumberFormatException
- If the parameter is not a valid Base64Binary.public byte[] getBytes()
public static boolean isValid(String stringValue)
stringValue
- the value to be tested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |