パッケージ org.pcap4j.packet
クラス RadiotapPresentBitmask
- java.lang.Object
-
- org.pcap4j.packet.RadiotapPresentBitmask
-
- すべての実装されたインタフェース:
Serializable
public final class RadiotapPresentBitmask extends Object implements Serializable
The present field of Radiotap header. Vendor namespaces are not supported yet.
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
RadiotapPresentBitmask.Builder
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(Object obj)
byte[]
getBitmask()
ArrayList<RadiotapPresentBitNumber>
getBitNumbers()
RadiotapPresentBitmask.Builder
getBuilder()
String
getNamespace()
byte[]
getRawData()
int
hashCode()
boolean
isAnotherBitmapFollows()
boolean
isRadiotapNamespaceNext()
boolean
isVendorNamespaceNext()
int
length()
static RadiotapPresentBitmask
newInstance(byte[] rawData, int offset, int length, int bitNumOffset)
A static factory method.static RadiotapPresentBitmask
newInstance(byte[] rawData, int offset, int length, int bitNumOffset, String namespace)
A static factory method.String
toString()
String
toString(String indent)
-
-
-
メソッドの詳細
-
newInstance
public static RadiotapPresentBitmask newInstance(byte[] rawData, int offset, int length, int bitNumOffset) throws IllegalRawDataException
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int)
, which may throw exceptions undocumented here.- パラメータ:
rawData
- rawDataoffset
- offsetlength
- lengthbitNumOffset
- bitNumOffset- 戻り値:
- a new RadiotapPresentBitmask object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
newInstance
public static RadiotapPresentBitmask newInstance(byte[] rawData, int offset, int length, int bitNumOffset, String namespace) throws IllegalRawDataException
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int)
, which may throw exceptions undocumented here.- パラメータ:
rawData
- rawDataoffset
- offsetlength
- lengthbitNumOffset
- bitNumOffsetnamespace
- namespace- 戻り値:
- a new RadiotapPresentBitmask object.
- 例外:
IllegalRawDataException
- if parsing the raw data fails.
-
getNamespace
public String getNamespace()
- 戻り値:
- namespace
-
getBitNumbers
public ArrayList<RadiotapPresentBitNumber> getBitNumbers()
- 戻り値:
- bitNumbers
-
isRadiotapNamespaceNext
public boolean isRadiotapNamespaceNext()
- 戻り値:
- radiotapNamespaceNext
-
isVendorNamespaceNext
public boolean isVendorNamespaceNext()
- 戻り値:
- vendorNamespaceNext
-
isAnotherBitmapFollows
public boolean isAnotherBitmapFollows()
- 戻り値:
- anotherBitmapFollows
-
getBitmask
public byte[] getBitmask()
- 戻り値:
- the bitmask
-
length
public int length()
- 戻り値:
- length of this data
-
getRawData
public byte[] getRawData()
- 戻り値:
- the raw data
-
getBuilder
public RadiotapPresentBitmask.Builder getBuilder()
- 戻り値:
- a new Builder object populated with this object's fields.
-
toString
public String toString(String indent)
- パラメータ:
indent
- indent- 戻り値:
- String representation of this object.
-
-