|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webcodepro.applecommander.storage.filters.AppleWorksDataBaseFileFilter
public class AppleWorksDataBaseFileFilter
Export an AppleWorks database file to a text file. Current export is limited to a standard comma-separated file (CSV) file format which should be suitable to load into a database or a spreadsheet.
Data base files start with a variable length header, followed by 600 bytes for each report format (if any), the standard values record, then variable length information for each record. Note that the first data record contains the standard (presumably default) values. The category entries are in the same order that the category names appear in the header record.
See: http://www.gno.org/pub/apple2/doc/apple/filetypes/ftn.19.xxxx
Date Created: February 15, 2003
Constructor Summary | |
---|---|
AppleWorksDataBaseFileFilter()
Create an AppleWorksDataBaseFileFilter. |
Method Summary | |
---|---|
protected void |
convertDate(java.io.PrintWriter printWriter,
java.lang.String date)
Convert the date entry. |
protected void |
convertTime(java.io.PrintWriter printWriter,
java.lang.String time)
Convert the time entry. |
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 |
---|
public AppleWorksDataBaseFileFilter()
Method Detail |
---|
public byte[] filter(FileEntry fileEntry)
filter
in interface FileFilter
FileFilter.filter(FileEntry)
public java.lang.String getSuggestedFileName(FileEntry fileEntry)
getSuggestedFileName
in interface FileFilter
FileFilter.getSuggestedFileName(FileEntry)
protected void convertDate(java.io.PrintWriter printWriter, java.lang.String date)
protected void convertTime(java.io.PrintWriter printWriter, java.lang.String time)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |