Class AppleFileData

java.lang.Object
com.perforce.p4java.io.apple.AppleFileData

public final class AppleFileData extends Object
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 Details

    • EMPTY_FILE_DATA

      public static final AppleFileData EMPTY_FILE_DATA
  • Constructor Details

    • AppleFileData

      public AppleFileData()
      Instantiates a new apple file data.
    • AppleFileData

      public AppleFileData(byte[] data)
      Instantiates a new apple file data.
      Parameters:
      data - the data
    • AppleFileData

      public AppleFileData(byte[] data, int offset, int length)
      Instantiates a new apple file data.
      Parameters:
      data - the data
      offset - the offset
      length - the length
  • Method Details

    • getBytes

      public byte[] getBytes()
      Gets the bytes.
      Returns:
      the bytes
    • getData

      public byte[] getData()
      Gets the data.
      Returns:
      the data
    • getOffset

      public int getOffset()
      Gets the offset.
      Returns:
      the offset
    • getLength

      public int getLength()
      Gets the length.
      Returns:
      the length