Package com.perforce.p4java.io.apple
Class AppleFileEncoder
java.lang.Object
com.perforce.p4java.io.apple.AppleFile
com.perforce.p4java.io.apple.AppleFileEncoder
This class handles the combination of the data fork, resource fork and other
entries into an AppleSingle/Double file.
Note that if it is an AppleDouble, the data fork is a separate file external to this file.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.perforce.p4java.io.apple.AppleFile
AppleFile.FileDatesInfoEntry, AppleFile.FileFormat -
Field Summary
Fields inherited from class com.perforce.p4java.io.apple.AppleFile
afpFileInfo, comment, dataFork, directoryID, fileData, fileDatesInfo, fileDatesInfoEntry, finderInfo, format, iconBW, iconColor, macintoshInfo, msDOSFileInfo, numEntries, proDOSFileInfo, realName, resourceFork, shortName -
Constructor Summary
ConstructorsConstructorDescriptionAppleFileEncoder(AppleFile.FileFormat fileFormat) Instantiates a new apple file decoder. -
Method Summary
Modifier and TypeMethodDescriptionvoidcombine()Combine the data fork, resource fork and other entries into an AppleSingle/Double file.Methods inherited from class com.perforce.p4java.io.apple.AppleFile
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
-
Constructor Details
-
AppleFileEncoder
Instantiates a new apple file decoder.- Parameters:
fileFormat- fileFormat- Throws:
FileEncoderException- on error
-
-
Method Details
-
combine
Combine the data fork, resource fork and other entries into an AppleSingle/Double file.- Throws:
FileEncoderException- the file encoder exception
-