Class ExObjRefAtom


public final class ExObjRefAtom extends RecordAtom
ExObjRefAtom (3009).

An atom record that specifies a reference to an external object.

  • Constructor Details

    • ExObjRefAtom

      public ExObjRefAtom()
      Create a new instance of ExObjRefAtom
    • ExObjRefAtom

      protected ExObjRefAtom(byte[] source, int start, int len)
      Build an instance of ExObjRefAtom from on-disk data
      Parameters:
      source - the source data as a byte array.
      start - the start offset into the byte array.
      len - the length of the slice in the byte array.
  • Method Details

    • getRecordType

      public long getRecordType()
      Description copied from class: Record
      Returns the type (held as a little endian in bytes 3 and 4) that this class handles
      Specified by:
      getRecordType in class Record
      Returns:
      type of this record RecordTypes.ExObjRefAtom.
    • getExObjIdRef

      public int getExObjIdRef()
    • setExObjIdRef

      public void setExObjIdRef(int id)
    • writeOut

      public void writeOut(OutputStream out) throws IOException
      Write the contents of the record back, so it can be written to disk
      Specified by:
      writeOut in class Record
      Throws:
      IOException