public enum UnrarHeadertype extends Enum<UnrarHeadertype>
| Enum Constant and Description |
|---|
AvHeader |
CommHeader |
EndArcHeader |
FileHeader |
MainHeader |
MarkHeader |
NewSubHeader |
ProtectHeader |
SignHeader |
SubHeader |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(byte header)
Return true if the given byte is equal to the enum's byte
|
static UnrarHeadertype |
findType(byte headerType)
Returns the enum according to the given byte or null
|
byte |
getHeaderByte()
the header byte of this enum
|
static UnrarHeadertype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnrarHeadertype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnrarHeadertype MainHeader
public static final UnrarHeadertype MarkHeader
public static final UnrarHeadertype FileHeader
public static final UnrarHeadertype CommHeader
public static final UnrarHeadertype AvHeader
public static final UnrarHeadertype SubHeader
public static final UnrarHeadertype ProtectHeader
public static final UnrarHeadertype SignHeader
public static final UnrarHeadertype NewSubHeader
public static final UnrarHeadertype EndArcHeader
public static UnrarHeadertype[] values()
for (UnrarHeadertype c : UnrarHeadertype.values()) System.out.println(c);
public static UnrarHeadertype valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static UnrarHeadertype findType(byte headerType)
headerType - the headerbytepublic boolean equals(byte header)
header - public byte getHeaderByte()
Copyright © 2017. All rights reserved.