|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(De)Serializes properties and allows to get basic information about the property.
Field Summary | |
static java.lang.String |
IMAGE_TYPE
Image MIME type |
static java.lang.String |
PASSWORD_TYPE
password type (not MIME) |
static java.lang.String |
X509CERT
X509 certificate MIME type |
static java.lang.String |
X509CERT_CHAIN
X509 certificate chain MIME type |
Method Summary | |
java.lang.Object |
decode(byte[] encoded)
Deserializes the byte array to the property object |
byte[] |
encode(java.lang.Object property)
Serializes the property to the byte array. |
java.lang.Class |
getAcceptingClass()
Gets the class type, which is accepted by the encode method |
java.lang.String |
getPropertyDescription()
Gets the description od the property. |
java.lang.String |
getType()
Gets the type of the property, that can serialized/deserialized. |
Field Detail |
public static final java.lang.String PASSWORD_TYPE
public static final java.lang.String X509CERT
public static final java.lang.String X509CERT_CHAIN
public static final java.lang.String IMAGE_TYPE
Method Detail |
public byte[] encode(java.lang.Object property)
property
- the property being serialized
public java.lang.Object decode(byte[] encoded)
encoded
- the serialized byte array of the property
public java.lang.String getPropertyDescription()
public java.lang.Class getAcceptingClass()
encode
method
public java.lang.String getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |