Package net.sourceforge.plantuml.code
Class CompressionZlibAttic
- java.lang.Object
-
- net.sourceforge.plantuml.code.CompressionZlibAttic
-
- All Implemented Interfaces:
Compression
@Deprecated public class CompressionZlibAttic extends Object implements Compression
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description CompressionZlibAttic()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
compress(byte[] in)
Deprecated.Shrinks the givenin
array with lengthlen
ByteArray
decompress(byte[] in)
Deprecated.Grows the givenin
array with lengthlen
compressed with theshrink
method.
-
-
-
Method Detail
-
compress
public byte[] compress(byte[] in)
Deprecated.Description copied from interface:Compression
Shrinks the givenin
array with lengthlen
- Specified by:
compress
in interfaceCompression
- Returns:
- a newly created array with the compressed data.
-
decompress
public ByteArray decompress(byte[] in) throws NoPlantumlCompressionException
Deprecated.Description copied from interface:Compression
Grows the givenin
array with lengthlen
compressed with theshrink
method.- Specified by:
decompress
in interfaceCompression
- Returns:
- a newly created array with the expanded data.
- Throws:
NoPlantumlCompressionException
-
-