Class PascalFileEntryReaderWriter
- java.lang.Object
-
- com.webcodepro.applecommander.util.readerwriter.PascalFileEntryReaderWriter
-
- All Implemented Interfaces:
FileEntryReader
,FileEntryWriter
public class PascalFileEntryReaderWriter extends java.lang.Object implements FileEntryReader, FileEntryWriter
-
-
Constructor Summary
Constructors Constructor Description PascalFileEntryReaderWriter(PascalFileEntry fileEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
void
setFileData(byte[] data)
void
setFilename(java.lang.String filename)
void
setLastModificationDate(java.util.Date date)
void
setProdosFiletype(java.lang.String filetype)
-
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, getAuxiliaryType, getBinaryAddress, getBinaryLength, getCreationDate, getResourceData, isLocked
-
Methods inherited from interface com.webcodepro.applecommander.util.readerwriter.FileEntryWriter
setAuxiliaryType, setBinaryAddress, setBinaryLength, setCreationDate, setFileData, setLocked
-
-
-
-
Constructor Detail
-
PascalFileEntryReaderWriter
public PascalFileEntryReaderWriter(PascalFileEntry fileEntry)
-
-
Method Detail
-
getFilename
public java.util.Optional<java.lang.String> getFilename()
- Specified by:
getFilename
in interfaceFileEntryReader
-
setFilename
public void setFilename(java.lang.String filename)
- Specified by:
setFilename
in interfaceFileEntryWriter
-
getProdosFiletype
public java.util.Optional<java.lang.String> getProdosFiletype()
- Specified by:
getProdosFiletype
in interfaceFileEntryReader
-
setProdosFiletype
public void setProdosFiletype(java.lang.String filetype)
- Specified by:
setProdosFiletype
in interfaceFileEntryWriter
-
getLastModificationDate
public java.util.Optional<java.util.Date> getLastModificationDate()
- Specified by:
getLastModificationDate
in interfaceFileEntryReader
-
setLastModificationDate
public void setLastModificationDate(java.util.Date date)
- Specified by:
setLastModificationDate
in interfaceFileEntryWriter
-
getFileData
public java.util.Optional<byte[]> getFileData()
- Specified by:
getFileData
in interfaceFileEntryReader
-
setFileData
public void setFileData(byte[] data)
- Specified by:
setFileData
in interfaceFileEntryWriter
-
-