com.perforce.p4java.impl.mapbased.rpc.sys.helper
Class AppleFileHelper
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.sys.helper.AppleFileHelper
public class AppleFileHelper
- extends Object
Helper class for handling Apple files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppleFileHelper
public AppleFileHelper()
extractFile
public static void extractFile(RpcPerforceFile file)
- Extract the data fork and the resource fork from the Apple file.
- Parameters:
file
- the Apple file
getBytesFromFile
public static byte[] getBytesFromFile(File file)
throws IOException
- Gets the bytes from file.
- Parameters:
file
- the file
- Returns:
- the bytes from file
- Throws:
IOException
- Signals that an I/O exception has occurred.
Copyright © 2015 Perforce Software. All Rights Reserved.