org.gamenet.application.mm8leveleditor.converter
Class MultipleTGAToBMPFormatConverter
java.lang.Object
org.gamenet.application.mm8leveleditor.converter.FormatConverter
org.gamenet.application.mm8leveleditor.converter.MultipleTGAToBMPFormatConverter
- public class MultipleTGAToBMPFormatConverter
- extends FormatConverter
- Author:
- mlk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleTGAToBMPFormatConverter
public MultipleTGAToBMPFormatConverter()
isFileNameComponentForLodEntryFileName
public boolean isFileNameComponentForLodEntryFileName(String fileName,
String LodEntryFileName)
- Overrides:
isFileNameComponentForLodEntryFileName
in class FormatConverter
requiresMultipleStreams
public boolean requiresMultipleStreams()
- Overrides:
requiresMultipleStreams
in class FormatConverter
getRequiredStreamCount
public int getRequiredStreamCount()
- Overrides:
getRequiredStreamCount
in class FormatConverter
getSuggestedFilenames
public String[] getSuggestedFilenames(String baseFilename)
- Overrides:
getSuggestedFilenames
in class FormatConverter
setDestinationOutputStreamsForNewFormat
public void setDestinationOutputStreamsForNewFormat(OutputStream[] outputStreamArray,
LodResource lodResource)
throws IOException
- Overrides:
setDestinationOutputStreamsForNewFormat
in class FormatConverter
- Throws:
IOException
setDestinationOutputStreamForNewFormat
public void setDestinationOutputStreamForNewFormat(OutputStream stream,
LodResource bitmapLodEntry)
throws IOException
- Set output Stream where the new BMP format will be written
- Specified by:
setDestinationOutputStreamForNewFormat
in class FormatConverter
- Parameters:
stream
- where the new converted format will be written
- Throws:
IOException
setSourceInputStreamsForNewFormat
public void setSourceInputStreamsForNewFormat(InputStream[] inputStreamArray,
LodResource lodResource)
throws IOException
- Overrides:
setSourceInputStreamsForNewFormat
in class FormatConverter
- Throws:
IOException
setSourceInputStreamForNewFormat
public void setSourceInputStreamForNewFormat(InputStream stream,
LodResource tgaAcceptingLodEntry)
throws IOException
- Set input Stream where the new BMP format will be written
- Specified by:
setSourceInputStreamForNewFormat
in class FormatConverter
- Parameters:
stream
- where the new converted format will be written
- Throws:
IOException