|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompressionStrategy
Implementations of this interface provide a strategy for compressing and uncompressing data.
| Method Summary | |
|---|---|
byte[] |
deflate(byte[] data)
Compresses the data. |
java.lang.String |
getType()
The type of compression performed. |
byte[] |
inflate(byte[] data)
Uncompresses the data. |
| Method Detail |
|---|
java.lang.String getType()
byte[] inflate(byte[] data)
throws java.io.IOException
data - compressed data.
java.io.IOException - if there is an issue during the operation.
byte[] deflate(byte[] data)
throws java.io.IOException
data - uncompressed data.
java.io.IOException - if there is an issue during the operation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||