com.webcodepro.applecommander.storage.filters
Class BinaryFileFilter

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

public class BinaryFileFilter
extends java.lang.Object
implements FileFilter

Filter the given file data to be the appropriate length.

Date created: Nov 2, 2002 9:07:52 PM

Author:
Rob Greene

Constructor Summary
BinaryFileFilter()
          Constructor for BinaryFileFilter.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryFileFilter

public BinaryFileFilter()
Constructor for BinaryFileFilter.

Method Detail

filter

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

Specified by:
filter in interface FileFilter
See Also:
FileFilter.filter(FileEntry)

getSuggestedFileName

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

Specified by:
getSuggestedFileName in interface FileFilter