public final class Token extends SmfData
  • Field Details

  • Constructor Details

    • Token

      public Token(byte[] Data)
  • Method Details

    • toklen

      public int toklen()
      TOKLEN value.
      Returns:
      int TOKLEN value
    • tokvers

      public int tokvers()
      TOKVERS value.
      Returns:
      int TOKVERS value
    • tokflg1

      public int tokflg1()
      TOKFLG1 value.
      Returns:
      int TOKFLG1 value
    • tokencr

      public boolean tokencr()
      Return true if TOKENCR bit in tokflg1() is set.
      Returns:
      boolean TOKENCR bit is set in tokflg1()

      TOKENCR = 0x80

    • toklt19

      public boolean toklt19()
      Return true if TOKLT19 bit in tokflg1() is set.
      Returns:
      boolean TOKLT19 bit is set in tokflg1()

      TOKLT19 = 0x20

    • tokvxprp

      public boolean tokvxprp()
      Return true if TOKVXPRP bit in tokflg1() is set.
      Returns:
      boolean TOKVXPRP bit is set in tokflg1()

      TOKVXPRP = 0x10

    • tokunusr

      public boolean tokunusr()
      Return true if TOKUNUSR bit in tokflg1() is set.
      Returns:
      boolean TOKUNUSR bit is set in tokflg1()

      TOKUNUSR = 0x08

    • toklogu

      public boolean toklogu()
      Return true if TOKLOGU bit in tokflg1() is set.
      Returns:
      boolean TOKLOGU bit is set in tokflg1()

      TOKLOGU = 0x04

    • tokrspec

      public boolean tokrspec()
      Return true if TOKRSPEC bit in tokflg1() is set.
      Returns:
      boolean TOKRSPEC bit is set in tokflg1()

      TOKRSPEC = 0x02

    • tokstyp

      public int tokstyp()
      TOKSTYP value.
      Returns:
      int TOKSTYP value
    • tokflg2

      public int tokflg2()
      TOKFLG2 value.
      Returns:
      int TOKFLG2 value
    • tokdflt

      public boolean tokdflt()
      Return true if TOKDFLT bit in tokflg2() is set.
      Returns:
      boolean TOKDFLT bit is set in tokflg2()

      TOKDFLT = 0x80

    • tokudus

      public boolean tokudus()
      Return true if TOKUDUS bit in tokflg2() is set.
      Returns:
      boolean TOKUDUS bit is set in tokflg2()

      TOKUDUS = 0x40

    • tokerr

      public boolean tokerr()
      Return true if TOKERR bit in tokflg2() is set.
      Returns:
      boolean TOKERR bit is set in tokflg2()

      TOKERR = 0x10

    • toktrst

      public boolean toktrst()
      Return true if TOKTRST bit in tokflg2() is set.
      Returns:
      boolean TOKTRST bit is set in tokflg2()

      TOKTRST = 0x08

    • toksus

      public boolean toksus()
      Return true if TOKSUS bit in tokflg2() is set.
      Returns:
      boolean TOKSUS bit is set in tokflg2()

      TOKSUS = 0x04

    • tokremot

      public boolean tokremot()
      Return true if TOKREMOT bit in tokflg2() is set.
      Returns:
      boolean TOKREMOT bit is set in tokflg2()

      TOKREMOT = 0x02

    • tokpriv

      public boolean tokpriv()
      Return true if TOKPRIV bit in tokflg2() is set.
      Returns:
      boolean TOKPRIV bit is set in tokflg2()

      TOKPRIV = 0x01

    • tokpoex

      public int tokpoex()
      TOKPOEX value.
      Returns:
      int TOKPOEX value
    • tokflg3

      public int tokflg3()
      TOKFLG3 value.
      Returns:
      int TOKFLG3 value
    • tokdgrp

      public boolean tokdgrp()
      Return true if TOKDGRP bit in tokflg3() is set.
      Returns:
      boolean TOKDGRP bit is set in tokflg3()

      TOKDGRP = 0x80

    • tokdsec

      public boolean tokdsec()
      Return true if TOKDSEC bit in tokflg3() is set.
      Returns:
      boolean TOKDSEC bit is set in tokflg3()

      TOKDSEC = 0x40

    • toknetf

      public boolean toknetf()
      Return true if TOKNETF bit in tokflg3() is set.
      Returns:
      boolean TOKNETF bit is set in tokflg3()

      TOKNETF = 0x20

    • tokipv

      public boolean tokipv()
      Return true if TOKIPV bit in tokflg3() is set.
      Returns:
      boolean TOKIPV bit is set in tokflg3()

      TOKIPV = 0x10

    • tokwdwn

      public boolean tokwdwn()
      Return true if TOKWDWN bit in tokflg3() is set.
      Returns:
      boolean TOKWDWN bit is set in tokflg3()

      TOKWDWN = 0x08

    • tokscl

      public String tokscl()
      TOKSCL value.
      Returns:
      String TOKSCL value
    • tokxnod

      public String tokxnod()
      TOKXNOD value.
      Returns:
      String TOKXNOD value
    • toksusr

      public String toksusr()
      TOKSUSR value.
      Returns:
      String TOKSUSR value
    • toksnod

      public String toksnod()
      TOKSNOD value.
      Returns:
      String TOKSNOD value
    • toksgrp

      public String toksgrp()
      TOKSGRP value.
      Returns:
      String TOKSGRP value
    • tokiplok

      public String tokiplok()
      TOKIPLOK value.
      Returns:
      String TOKIPLOK value
    • tokpoe

      public String tokpoe()
      TOKPOE value.
      Returns:
      String TOKPOE value
    • toknetw

      public String toknetw()
      TOKNETW value.
      Returns:
      String TOKNETW value
    • tokuser

      public String tokuser()
      TOKUSER value.
      Returns:
      String TOKUSER value
    • tokgrup

      public String tokgrup()
      TOKGRUP value.
      Returns:
      String TOKGRUP value
    • create

      public static Token create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section