Class OverrideFileEntryReader
- java.lang.Object
-
- com.webcodepro.applecommander.util.readerwriter.OverrideFileEntryReader
-
- All Implemented Interfaces:
FileEntryReader
public class OverrideFileEntryReader extends java.lang.Object implements FileEntryReader
Allow programmatic control of what is in the results of the file entry. Useful for translating from raw data. It can also be used to layer in results and overrides.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOverrideFileEntryReader.Builder
-
Constructor Summary
Constructors Constructor Description OverrideFileEntryReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OverrideFileEntryReader.Builderbuilder()java.util.Optional<java.lang.Integer>getAuxiliaryType()java.util.Optional<java.lang.Integer>getBinaryAddress()The address embedded in binary objects.java.util.Optional<java.lang.Integer>getBinaryLength()The length embedded in binary, Applesoft, Integer BASIC objects.java.util.Optional<java.util.Date>getCreationDate()java.util.Optional<byte[]>getFileData()java.util.Optional<java.lang.String>getFilename()java.util.Optional<java.util.Date>getLastModificationDate()java.util.Optional<java.lang.String>getProdosFiletype()java.util.Optional<byte[]>getResourceData()java.util.Optional<java.lang.Boolean>isLocked()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.webcodepro.applecommander.util.readerwriter.FileEntryReader
equals
-
-
-
-
Method Detail
-
getFilename
public java.util.Optional<java.lang.String> getFilename()
- Specified by:
getFilenamein interfaceFileEntryReader
-
getProdosFiletype
public java.util.Optional<java.lang.String> getProdosFiletype()
- Specified by:
getProdosFiletypein interfaceFileEntryReader
-
isLocked
public java.util.Optional<java.lang.Boolean> isLocked()
- Specified by:
isLockedin interfaceFileEntryReader
-
getFileData
public java.util.Optional<byte[]> getFileData()
- Specified by:
getFileDatain interfaceFileEntryReader
-
getResourceData
public java.util.Optional<byte[]> getResourceData()
- Specified by:
getResourceDatain interfaceFileEntryReader
-
getBinaryAddress
public java.util.Optional<java.lang.Integer> getBinaryAddress()
Description copied from interface:FileEntryReaderThe address embedded in binary objects. This varies by DOS's so is split apart.- Specified by:
getBinaryAddressin interfaceFileEntryReader
-
getBinaryLength
public java.util.Optional<java.lang.Integer> getBinaryLength()
Description copied from interface:FileEntryReaderThe length embedded in binary, Applesoft, Integer BASIC objects. This varies by DOS's so is split apart.- Specified by:
getBinaryLengthin interfaceFileEntryReader
-
getAuxiliaryType
public java.util.Optional<java.lang.Integer> getAuxiliaryType()
- Specified by:
getAuxiliaryTypein interfaceFileEntryReader
-
getCreationDate
public java.util.Optional<java.util.Date> getCreationDate()
- Specified by:
getCreationDatein interfaceFileEntryReader
-
getLastModificationDate
public java.util.Optional<java.util.Date> getLastModificationDate()
- Specified by:
getLastModificationDatein interfaceFileEntryReader
-
builder
public static OverrideFileEntryReader.Builder builder()
-
-