org.gamenet.application.mm8leveleditor.converter
Class NullFormatConverter

java.lang.Object
  extended byorg.gamenet.application.mm8leveleditor.converter.FormatConverter
      extended byorg.gamenet.application.mm8leveleditor.converter.NullFormatConverter

public class NullFormatConverter
extends FormatConverter

Author:
mlk

Nested Class Summary
 
Nested classes inherited from class org.gamenet.application.mm8leveleditor.converter.FormatConverter
FormatConverter.UnsupportedFileFormatException
 
Field Summary
 
Fields inherited from class org.gamenet.application.mm8leveleditor.converter.FormatConverter
sourceInputStream, sourceOutputStream
 
Constructor Summary
NullFormatConverter()
           
 
Method Summary
 void setDestinationOutputStreamForNewFormat(OutputStream stream, LodResource anEntry)
          Set output Stream where the new converted format will be written
 void setSourceInputStreamForNewFormat(InputStream stream, LodResource anEntry)
          Set input stream from which the new converted format will be read
 
Methods inherited from class org.gamenet.application.mm8leveleditor.converter.FormatConverter
getDestinationInputStreamForOldFormat, getRequiredStreamCount, getSourceOutputStreamForOldFormat, getSuggestedFilenames, isFileNameComponentForLodEntryFileName, requiresMultipleStreams, setDestinationOutputStreamsForNewFormat, setSourceInputStreamsForNewFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullFormatConverter

public NullFormatConverter()
Method Detail

setDestinationOutputStreamForNewFormat

public void setDestinationOutputStreamForNewFormat(OutputStream stream,
                                                   LodResource anEntry)
                                            throws IOException
Description copied from class: FormatConverter
Set output Stream where the new converted format will be written

Specified by:
setDestinationOutputStreamForNewFormat in class FormatConverter
Parameters:
stream - where the new converted format will be written
Throws:
IOException

setSourceInputStreamForNewFormat

public void setSourceInputStreamForNewFormat(InputStream stream,
                                             LodResource anEntry)
                                      throws IOException
Description copied from class: FormatConverter
Set input stream from which the new converted format will be read

Specified by:
setSourceInputStreamForNewFormat in class FormatConverter
Parameters:
stream - from which the new converted format will be read
Throws:
IOException