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 TypeMethodDescriptionvoid
encodeGXYView
(ILcdGXYView aGXYView, OutputStream aOutputStream) encodes a givenILcdGXYView
to theOutputStream
.Returns the content MIME type of the encoder.
-
Method Details
-
encodeGXYView
encodes a givenILcdGXYView
to theOutputStream
.- Parameters:
aGXYView
- theILcdGXYView
to be encoded.aOutputStream
- theOutputStream
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
.
-