Class NewSubHeaderType

java.lang.Object
com.github.junrar.rarfile.NewSubHeaderType

public class NewSubHeaderType extends Object
subheaders new version of the info headers
Version:
$LastChangedRevision$
  • Field Details

    • SUBHEAD_TYPE_CMT

      public static final NewSubHeaderType SUBHEAD_TYPE_CMT
    • SUBHEAD_TYPE_ACL

      public static final NewSubHeaderType SUBHEAD_TYPE_ACL
    • SUBHEAD_TYPE_STREAM

      public static final NewSubHeaderType SUBHEAD_TYPE_STREAM
    • SUBHEAD_TYPE_UOWNER

      public static final NewSubHeaderType SUBHEAD_TYPE_UOWNER
    • SUBHEAD_TYPE_AV

      public static final NewSubHeaderType SUBHEAD_TYPE_AV
    • SUBHEAD_TYPE_RR

      public static final NewSubHeaderType SUBHEAD_TYPE_RR
      recovery record subheader
    • SUBHEAD_TYPE_OS2EA

      public static final NewSubHeaderType SUBHEAD_TYPE_OS2EA
    • SUBHEAD_TYPE_BEOSEA

      public static final NewSubHeaderType SUBHEAD_TYPE_BEOSEA
    • headerTypes

      private final byte[] headerTypes
  • Constructor Details

    • NewSubHeaderType

      private NewSubHeaderType(byte[] headerTypes)
  • Method Details

    • byteEquals

      public boolean byteEquals(byte[] toCompare)
      Parameters:
      toCompare - .
      Returns:
      Returns true if the given byte array matches to the internal byte array of this header.
    • toString

      public String toString()
      Overrides:
      toString in class Object