Interface ILcdGXYViewEncoder

All Known Implementing Classes:
TLcdGXYViewGIFEncoder, TLcdGXYViewJPEGEncoder, TLcdGXYViewPNGEncoder, TLcdGXYViewSVGEncoder

public interface ILcdGXYViewEncoder
This interface specifies methods to write given ILcdGXYView to a OutputStream. The type of encoding is defined by the actual implementations.

Each ILcdGXYViewEncoder has a content type that identifies the type of data encoded by the implementation. This is usual the MIME - TYPE of the encoded result.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encodeGXYView(ILcdGXYView aGXYView, OutputStream aOutputStream)
    encodes a given ILcdGXYView to the OutputStream.
    Returns the content MIME type of the encoder.
  • Method Details

    • encodeGXYView

      void encodeGXYView(ILcdGXYView aGXYView, OutputStream aOutputStream) throws IOException
      encodes a given ILcdGXYView to the OutputStream.
      Parameters:
      aGXYView - the ILcdGXYView to be encoded.
      aOutputStream - the OutputStream to write the encoded view to.
      Throws:
      IOException - for any I/O Exceptions.
    • getContentType

      String getContentType()
      Returns the content MIME type of the encoder.
      Returns:
      the MIME-type as String.