Class IntegerBasicFileFilter

  • All Implemented Interfaces:
    FileFilter

    public class IntegerBasicFileFilter
    extends java.lang.Object
    implements FileFilter
    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

      Constructors 
      Constructor Description
      IntegerBasicFileFilter()
      Constructor for IntegerBasicFileFilter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • IntegerBasicFileFilter

        public IntegerBasicFileFilter()
        Constructor for IntegerBasicFileFilter.