com.webcodepro.applecommander.storage
Interface FileFilter

All Known Implementing Classes:
ApplesoftFileFilter, AppleWorksDataBaseFileFilter, AppleWorksSpreadSheetFileFilter, AppleWorksWordProcessorFileFilter, AssemblySourceFileFilter, BinaryFileFilter, GraphicsFileFilter, HexDumpFileFilter, IntegerBasicFileFilter, PascalTextFileFilter, TextFileFilter

public interface FileFilter

A file filter taks a buffer of bytes and filters or converts the bytes into another format. An example would be to filter Apple text by removing the high bit from each byte and stripping out all $00 values, as that signified either the end of a file or filler space.

Date created: Nov 2, 2002 9:02:47 PM

Author:
Rob Greene

Method Summary
 byte[] filter(FileEntry fileEntry)
          Process the given FileEntry and return a byte array with filtered data.
 java.lang.String getSuggestedFileName(FileEntry fileEntry)
          Give suggested file name.
 

Method Detail

filter

byte[] filter(FileEntry fileEntry)
Process the given FileEntry and return a byte array with filtered data.


getSuggestedFileName

java.lang.String getSuggestedFileName(FileEntry fileEntry)
Give suggested file name.