Class OAbstractCompression
java.lang.Object
com.orientechnologies.orient.core.compression.impl.OAbstractCompression
- All Implemented Interfaces:
OCompression
- Direct Known Subclasses:
OGZIPCompression,ONothingCompression,OZIPCompression
Base class for the compression implementations.
- Since:
- 05.06.13
- Author:
- Luca Garulli
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]compress(byte[] content) byte[]uncompress(byte[] content) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.compression.OCompression
compress, name, uncompress
-
Constructor Details
-
OAbstractCompression
public OAbstractCompression()
-
-
Method Details
-
compress
public byte[] compress(byte[] content) - Specified by:
compressin interfaceOCompression
-
uncompress
public byte[] uncompress(byte[] content) - Specified by:
uncompressin interfaceOCompression
-
configure
- Specified by:
configurein interfaceOCompression
-