|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webcodepro.applecommander.storage.filters.IntegerBasicFileFilter
public class IntegerBasicFileFilter
Filter the given file as an Integer BASIC file.
On disk, it looks similar to Applesoft - first two bytes are length; rest of image is raw data for Integer Basic.
[byte] length of line
[word] line number
[byte]* line data
$01 is end of line
Repeat until end of program (line length of 0).
Tokens are $00 - $7F, some are duplicated.
$01 is end of line.
$B0 - $B9 = signifies a number stored in a word.
Date created: Nov 3, 2002 1:14:47 AM
Constructor Summary | |
---|---|
IntegerBasicFileFilter()
Constructor for IntegerBasicFileFilter. |
Method Summary | |
---|---|
byte[] |
filter(FileEntry fileEntry)
Process the given FileEntry and return a text image of the Integer BASIC file. |
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 IntegerBasicFileFilter()
Method Detail |
---|
public byte[] filter(FileEntry fileEntry)
filter
in interface FileFilter
author John B. Matthews
public java.lang.String getSuggestedFileName(FileEntry fileEntry)
getSuggestedFileName
in interface FileFilter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |