public final class VlanDescParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static char |
SEPARATOR
Separator between identifier and VLAN ID.
|
| Constructor and Description |
|---|
VlanDescParser(String value,
String desc)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
Return a parsed identifier string.
|
int |
getVlanId()
Return a parsed VLAN ID.
|
public static final char SEPARATOR
public VlanDescParser(String value, String desc) throws RpcException
value - A string to be parsed.
The given string must consist of an arbitrary string and
VLAN ID (decimal) joined with "@".desc - A brief description about the given string.RpcException - Failed to parse the given string.public String getIdentifier()
null if no identifier is specified.public int getVlanId()
Copyright © 2018 OpenDaylight. All rights reserved.