@ExclusiveOptionals(isOneRequired=false) public class OptionValueParams extends Object
| Constructor and Description |
|---|
OptionValueParams() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteArray()
Get the bytes value.
|
InputStream |
getFromBinary() |
String |
getFromHex() |
Long |
getFromNumber() |
String |
getFromString() |
void |
setFromBinary(InputStream fromBinary) |
void |
setFromHex(String fromHex) |
void |
setFromNumber(Long fromNumber) |
void |
setFromString(String fromString) |
public InputStream getFromBinary()
public Long getFromNumber()
public void setFromNumber(Long fromNumber)
fromNumber - the fromNumber to setpublic void setFromBinary(InputStream fromBinary)
fromBinary - the fromBinary to setpublic String getFromHex()
public void setFromHex(String fromHex)
fromHex - the fromHex to setpublic String getFromString()
public void setFromString(String fromString)
fromString - the fromString to setpublic byte[] getByteArray()
throws OptionValueException
OptionValueException - When conversion failed.Copyright © 2019–2024 Teslanet.nl. All rights reserved.