Package com.perforce.p4java.io.apple
Class AppleFileDecoder
java.lang.Object
com.perforce.p4java.io.apple.AppleFile
com.perforce.p4java.io.apple.AppleFileDecoder
This class handles the extraction of the data fork, resource fork and other
entries from an AppleSingle/Double file. The Perforce 'apple' file type is a
compressed AppleSingle (Mac resource + data) file. The Perforce 'resource'
file type is a compressed AppleDouble (Mac resource fork) 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
ConstructorsConstructorDescriptionAppleFileDecoder(AppleFileData fileData) Instantiates a new apple file decoder. -
Method Summary
Modifier and TypeMethodDescriptionvoidextract()Extract the data fork, resource fork and other entries from the Apple 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
-
AppleFileDecoder
Instantiates a new apple file decoder.- Parameters:
fileData- the file data
-
-
Method Details
-
extract
Extract the data fork, resource fork and other entries from the Apple file.- Throws:
FileDecoderException- the file decoder exception
-