- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement.Builder
-
- org.pcap4j.packet.Dot11VendorSpecificElement.Builder
-
- All Implemented Interfaces:
LengthBuilder<Dot11InformationElement>
- Enclosing class:
- Dot11VendorSpecificElement
public static final class Dot11VendorSpecificElement.Builder extends Dot11InformationElement.Builder
- Since:
- pcap4j 1.7.0
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]information
-
Constructor Summary
Constructors Modifier Constructor Description Builder()privateBuilder(Dot11VendorSpecificElement elem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dot11VendorSpecificElementbuild()Dot11VendorSpecificElement.BuildercorrectLengthAtBuild(boolean correctLengthAtBuild)Dot11VendorSpecificElement.Builderinformation(byte[] information)Dot11VendorSpecificElement.Builderlength(byte length)-
Methods inherited from class org.pcap4j.packet.Dot11InformationElement.Builder
elementId, getCorrectLengthAtBuild
-
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
private Builder(Dot11VendorSpecificElement elem)
- Parameters:
elem- a Dot11VendorSpecificElement object.
-
-
Method Detail
-
information
public Dot11VendorSpecificElement.Builder information(byte[] information)
- Parameters:
information- information- Returns:
- this Builder object for method chaining.
-
length
public Dot11VendorSpecificElement.Builder length(byte length)
- Overrides:
lengthin classDot11InformationElement.Builder- Parameters:
length- length- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public Dot11VendorSpecificElement.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
- Specified by:
correctLengthAtBuildin interfaceLengthBuilder<Dot11InformationElement>- Overrides:
correctLengthAtBuildin classDot11InformationElement.Builder- Parameters:
correctLengthAtBuild- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
public Dot11VendorSpecificElement build()
- Returns:
- a new object.
-
-