Class PlantUmlEncoderImpl

java.lang.Object
io.jmix.datatools.datamodel.engine.plantuml.impl.PlantUmlEncoderImpl
All Implemented Interfaces:
PlantUmlEncoder

public class PlantUmlEncoderImpl extends Object implements PlantUmlEncoder
  • Field Details

    • ENCODING_ALPHABET

      protected static final byte[] ENCODING_ALPHABET
    • PADDING

      protected static final byte PADDING
  • Constructor Details

    • PlantUmlEncoderImpl

      public PlantUmlEncoderImpl()
  • Method Details

    • encode

      public String encode(@Nullable byte[] compressedData)
      Description copied from interface: PlantUmlEncoder
      Provides encoding in a base64-like format.
      Specified by:
      encode in interface PlantUmlEncoder
      Parameters:
      compressedData - a base64-encoded, compressed by deflate algorithm, string description of the chart to be re-encoded
      Returns:
      a string description of the chart, encoded in a base64-like format