public class ZipAdapter extends PropertyStorageAdapter
| Constructor and Description | 
|---|
| ZipAdapter() | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | fromSpace(Object value)Triggered when a property value arrives from the space and is about to be injected in the user's object. | 
| String | getName()Returns a name used for display in monitoring tools. | 
| Class<?> | getStorageClass()Returns the class of the values which will be stored in the space. | 
| boolean | supportsEqualsMatching()Indicates whether equality matching is supported. | 
| BinaryWrapper | toBinaryWrapper(byte[] data)Default factory for wrapping a byte array in a container for space storage. | 
| Object | toSpace(Object value)Triggered when a property value is retrieved from the user's object and is about to be sent to the space. | 
base64Decode, base64Encode, deserialize, serialize, supportsOrderedMatching, unwrapBinary, unzip, useBase64Wrapper, wrapBinary, zippublic String getName()
PropertyStorageAdaptergetName in class PropertyStorageAdapterpublic Class<?> getStorageClass()
PropertyStorageAdaptergetStorageClass in class PropertyStorageAdapterpublic boolean supportsEqualsMatching()
PropertyStorageAdaptersupportsEqualsMatching in class PropertyStorageAdapterpublic Object toSpace(Object value) throws IOException
PropertyStorageAdaptertoSpace in class PropertyStorageAdaptervalue - The original property valueIOException - Thrown when processing the property value fails.public Object fromSpace(Object value) throws IOException, ClassNotFoundException
PropertyStorageAdapterfromSpace in class PropertyStorageAdaptervalue - The value which was stored in the spaceIOException - Thrown when processing the property value fails.ClassNotFoundException - Thrown when processing the property value fails due to a class loading issue.public BinaryWrapper toBinaryWrapper(byte[] data)
PropertyStorageAdaptertoBinaryWrapper in class PropertyStorageAdapterCopyright © GigaSpaces.