Class AppleFileHelper
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.sys.helper.AppleFileHelper
Helper class for handling Apple files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidextractFile(RpcPerforceFile file) Extract the data fork and the resource fork from the Apple file.static byte[]getBytesFromFile(File file) Gets the bytes from file.
-
Constructor Details
-
AppleFileHelper
public AppleFileHelper()
-
-
Method Details
-
extractFile
Extract the data fork and the resource fork from the Apple file.- Parameters:
file- the Apple file
-
getBytesFromFile
Gets the bytes from file.- Parameters:
file- the file- Returns:
- the bytes from file
- Throws:
IOException- Signals that an I/O exception has occurred.
-