Class TextHeaderAtom

  • All Implemented Interfaces:

    public final class TextHeaderAtom
    extends RecordAtom
    implements ParentAwareRecord
    A TextHeaderAtom (type 3999). Holds information on what kind of text is contained in the TextBytesAtom / TextCharsAtom that follows straight after
    • Constructor Detail

      • TextHeaderAtom

        public TextHeaderAtom()
        Create a new TextHeader Atom, for an unknown type of text
    • Method Detail

      • getTextType

        public int getTextType()
      • setTextType

        public void setTextType​(int type)
      • getIndex

        public int getIndex()
        0-based index of the text run in the SLWT container
      • setIndex

        public void setIndex​(int index)
        index - 0-based index of the text run in the SLWT container
      • getRecordType

        public long getRecordType()
        We are of type 3999
        Specified by:
        getRecordType in class Record
      • writeOut

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