Package com.luciad.wms.server
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 TypeMethodDescriptionvoidencodeGXYView(ILcdGXYView aGXYView, OutputStream aOutputStream) encodes a givenILcdGXYViewto theOutputStream.Returns the content MIME type of the encoder.
-
Method Details
-
encodeGXYView
encodes a givenILcdGXYViewto theOutputStream.- Parameters:
aGXYView- theILcdGXYViewto be encoded.aOutputStream- theOutputStreamto 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.
-