public abstract class StringOption extends DhcpOption
Constructor and Description |
---|
StringOption() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get the data (wire format) into a byte array.
|
String |
getString() |
void |
setData(byte[] data)
Set the data (wire format) from a byte array.
|
void |
setString(String string) |
getClassByTag, getTag, getTagByClass, writeTo
public StringOption()
public void setData(byte[] data)
DhcpOption
setData
in class DhcpOption
public byte[] getData()
DhcpOption
DhcpOption.setData(byte[])
.getData
in class DhcpOption
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.