com.webcodepro.applecommander.storage.filters
Class AssemblySourceFileFilter

java.lang.Object
  extended by com.webcodepro.applecommander.storage.filters.AssemblySourceFileFilter
All Implemented Interfaces:
FileFilter

public class AssemblySourceFileFilter
extends java.lang.Object
implements FileFilter

Filter the given file data for text.

Author:
Rob Greene

Constructor Summary
AssemblySourceFileFilter()
           
 
Method Summary
 byte[] filter(FileEntry fileEntry)
          Process the given FileEntry and return a byte array with formatted assembly data; use PrintWriter to get platform agnostic line endings.
 java.lang.String getSuggestedFileName(FileEntry fileEntry)
          Give suggested file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssemblySourceFileFilter

public AssemblySourceFileFilter()
Method Detail

filter

public byte[] filter(FileEntry fileEntry)
Process the given FileEntry and return a byte array with formatted assembly data; use PrintWriter to get platform agnostic line endings.

Specified by:
filter in interface FileFilter

getSuggestedFileName

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

Specified by:
getSuggestedFileName in interface FileFilter