Class BinaryFileFilter
- java.lang.Object
-
- 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
-
-
Constructor Summary
Constructors Constructor Description BinaryFileFilter()Constructor for BinaryFileFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]filter(FileEntry fileEntry)Process the given FileEntry and return a byte array with filtered data.java.lang.StringgetSuggestedFileName(FileEntry fileEntry)Give suggested file name.
-
-
-
Method Detail
-
filter
public byte[] filter(FileEntry fileEntry)
Process the given FileEntry and return a byte array with filtered data.- Specified by:
filterin interfaceFileFilter- See Also:
FileFilter.filter(FileEntry)
-
getSuggestedFileName
public java.lang.String getSuggestedFileName(FileEntry fileEntry)
Give suggested file name.- Specified by:
getSuggestedFileNamein interfaceFileFilter
-
-