Documentation of 'net.sourceforge.plantuml.code.CompressionZopfliZlib' Java class
CompressionZopfliZlib
net.sourceforge.plantuml.code

Class CompressionZopfliZlib

  • All Implemented Interfaces:
    Compression


    public class CompressionZopfliZlib
    extends java.lang.Object
    implements Compression
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte[] compress(byte[] in)
      Shrinks the given in array with length len
      byte[] decompress(byte[] in)
      Grows the given in array with length len compressed with the shrink method.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompressionZopfliZlib

        public CompressionZopfliZlib()
    • Method Detail

      • compress

        public byte[] compress(byte[] in)
        Description copied from interface: Compression
        Shrinks the given in array with length len
        Specified by:
        compress in interface Compression
        Returns:
        a newly created array with the compressed data.
      • decompress

        public byte[] decompress(byte[] in)
                          throws java.io.IOException
        Description copied from interface: Compression
        Grows the given in array with length len compressed with the shrink method.
        Specified by:
        decompress in interface Compression
        Returns:
        a newly created array with the expanded data.
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.