org.kabeja.io
Interface StreamGenerator


public interface StreamGenerator

This interface describes a Generator, which will generate output the given stream.

Lifecycle

  1. setProperties
  2. getSuffix()
  3. getMimeType()
  4. generate()

Author:
Simon Mieth

Method Summary
 void generate(DXFDocument doc, java.io.OutputStream out)
          Output the generation result to the given stream.
 java.lang.String getMimeType()
           
 java.lang.String getSuffix()
           
 void setProperties(java.util.Map properties)
           
 

Method Detail

setProperties

void setProperties(java.util.Map properties)

getSuffix

java.lang.String getSuffix()

getMimeType

java.lang.String getMimeType()

generate

void generate(DXFDocument doc,
              java.io.OutputStream out)
Output the generation result to the given stream.

Parameters:
doc - the @see DXFDocument to output
out -