public class AppleFileEncoder extends AppleFile
Note that if it is an AppleDouble, the data fork is a separate file external to this file.
AppleFile.FileDatesInfoEntry, AppleFile.FileFormat
afpFileInfo, comment, dataFork, directoryID, fileData, fileDatesInfo, fileDatesInfoEntry, finderInfo, format, iconBW, iconColor, macintoshInfo, msDOSFileInfo, numEntries, proDOSFileInfo, realName, resourceFork, shortName
Constructor and Description |
---|
AppleFileEncoder(AppleFile.FileFormat fileFormat)
Instantiates a new apple file decoder.
|
Modifier and Type | Method and Description |
---|---|
void |
combine()
Combine the data fork, resource fork and other entries into an
AppleSingle/Double file.
|
extractFileDates, getAfpFileInfo, getComment, getDataFork, getDirectoryID, getFileData, getFileDatesInfo, getFinderInfo, getFormat, getIconBW, getIconColor, getMacintoshInfo, getMsDOSFileInfo, getNumEntries, getProDOSFileInfo, getRealName, getResourceFork, getShortName, setAfpFileInfo, setComment, setDataFork, setDirectoryID, setFileData, setFileDatesInfo, setFinderInfo, setFormat, setIconBW, setIconColor, setMacintoshInfo, setMsDOSFileInfo, setNumEntries, setProDOSFileInfo, setRealName, setResourceFork, setShortName, verify
public AppleFileEncoder(AppleFile.FileFormat fileFormat) throws FileEncoderException
fileFormat
- fileFormatFileEncoderException
- on errorpublic void combine() throws FileEncoderException
FileEncoderException
- the file encoder exception