Class DosFileEntryReaderWriter

    • Constructor Detail

      • DosFileEntryReaderWriter

        public DosFileEntryReaderWriter​(DosFileEntry fileEntry)
    • Method Detail

      • getFilename

        public java.util.Optional<java.lang.String> getFilename()
        Specified by:
        getFilename in interface FileEntryReader
      • isLocked

        public java.util.Optional<java.lang.Boolean> isLocked()
        Specified by:
        isLocked in interface FileEntryReader
      • getBinaryAddress

        public java.util.Optional<java.lang.Integer> getBinaryAddress()
        Description copied from interface: FileEntryReader
        The address embedded in binary objects. This varies by DOS's so is split apart.
        Specified by:
        getBinaryAddress in interface FileEntryReader
      • setBinaryAddress

        public void setBinaryAddress​(int address)
        Description copied from interface: FileEntryWriter
        The address embedded in binary objects. This varies by DOS's so is split apart.
        Specified by:
        setBinaryAddress in interface FileEntryWriter
      • getBinaryLength

        public java.util.Optional<java.lang.Integer> getBinaryLength()
        Description copied from interface: FileEntryReader
        The length embedded in binary, Applesoft, Integer BASIC objects. This varies by DOS's so is split apart.
        Specified by:
        getBinaryLength in interface FileEntryReader
      • setBinaryLength

        public void setBinaryLength​(int length)
        Description copied from interface: FileEntryWriter
        The length embedded in binary, Applesoft, Integer BASIC objects. This varies by DOS's so is split apart.
        Specified by:
        setBinaryLength in interface FileEntryWriter