|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.p4java.io.apple.AppleFileData
public final class AppleFileData
This class is for representing the AppleSingle/Double file or its file forks (data fork and resource fork) and the related Finder meta-file information.
| Field Summary | |
|---|---|
static AppleFileData |
EMPTY_FILE_DATA
|
| Constructor Summary | |
|---|---|
AppleFileData()
Instantiates a new apple file data. |
|
AppleFileData(byte[] data)
Instantiates a new apple file data. |
|
AppleFileData(byte[] data,
int offset,
int length)
Instantiates a new apple file data. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Gets the bytes. |
byte[] |
getData()
Gets the data. |
int |
getLength()
Gets the length. |
int |
getOffset()
Gets the offset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AppleFileData EMPTY_FILE_DATA
| Constructor Detail |
|---|
public AppleFileData()
public AppleFileData(byte[] data)
data - the data
public AppleFileData(byte[] data,
int offset,
int length)
data - the dataoffset - the offsetlength - the length| Method Detail |
|---|
public byte[] getBytes()
public byte[] getData()
public int getOffset()
public int getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||