| Package | Description |
|---|---|
| net.named_data.jndn |
| Modifier and Type | Method and Description |
|---|---|
ComponentType |
Name.Component.getType()
Get the name component type.
|
static ComponentType |
ComponentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentType[] |
ComponentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
Name.append(Blob value,
ComponentType type)
Append a new component of the given type, using the existing Blob value.
|
Name |
Name.append(Blob value,
ComponentType type,
int otherTypeCode)
Append a new component of the given type, using the existing Blob value.
|
Name |
Name.append(byte[] value,
ComponentType type)
Append a new component of the given type, copying from value.
|
Name |
Name.append(byte[] value,
ComponentType type,
int otherTypeCode)
Append a new component of the given type, copying from value.
|
Name |
Name.append(String value,
ComponentType type)
Convert the value to UTF8 bytes and append a Name.Component of the given
type.
|
Name |
Name.append(String value,
ComponentType type,
int otherTypeCode)
Convert the value to UTF8 bytes and append a Name.Component of the given
type.
|
Name |
Name.appendNumber(long number,
ComponentType type)
Append a component of the given type whose value is the
nonNegativeInteger encoding of the number.
|
Name |
Name.appendNumber(long number,
ComponentType type,
int otherTypeCode)
Append a component of the given type whose value is the
nonNegativeInteger encoding of the number.
|
static Name.Component |
Name.Component.fromNumber(long number,
ComponentType type)
Create a component of the given type whose value is the
nonNegativeInteger encoding of the number.
|
static Name.Component |
Name.Component.fromNumber(long number,
ComponentType type,
int otherTypeCode)
Create a component of the given type whose value is the
nonNegativeInteger encoding of the number.
|
| Constructor and Description |
|---|
Component(Blob value,
ComponentType type)
Create a Name.Component of the given type, using the existing the Blob
value.
|
Component(Blob value,
ComponentType type,
int otherTypeCode)
Create a Name.Component of the given type, using the existing the Blob
value.
|
Component(byte[] value,
ComponentType type)
Create a Name.Component of the given type, copying the given value.
|
Component(byte[] value,
ComponentType type,
int otherTypeCode)
Create a Name.Component of the given type, copying the given value.
|
Component(String value,
ComponentType type)
Create a Name.Component of the given type, converting the value to UTF8
bytes.
|
Component(String value,
ComponentType type,
int otherTypeCode)
Create a Name.Component of the given type, converting the value to UTF8
bytes.
|
Copyright © 2019. All rights reserved.