Class TextCharsAtom

All Implemented Interfaces:
GenericRecord

public final class TextCharsAtom extends RecordAtom
A TextCharsAtom (type 4000). Holds text in byte swapped unicode form. The trailing return character is always stripped from this
  • Field Details

    • _type

      public static final long _type
  • Constructor Details

    • TextCharsAtom

      public TextCharsAtom()
      Create an empty TextCharsAtom
  • Method Details

    • getText

      public String getText()
      Grabs the text.
    • setText

      public void setText(String text)
      Updates the text in the Atom.
    • getRecordType

      public long getRecordType()
      We are of type 4000
      Specified by:
      getRecordType in class Record
    • 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
    • toString

      public String toString()
      dump debug info; use getText() to return a string representation of the atom
      Overrides:
      toString in class Object
    • getGenericProperties

      public Map<String,Supplier<?>> getGenericProperties()