net.named_data.jndn
public enum ContentType extends Enum<ContentType>
| Enum Constant and Description |
|---|
BLOB |
DATA |
ENCR |
GONE |
KEY |
LINK |
NACK |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumericType() |
static ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentType BLOB
public static final ContentType DATA
public static final ContentType LINK
public static final ContentType KEY
public static final ContentType ENCR
public static final ContentType GONE
public static final ContentType NACK
public static ContentType[] values()
for (ContentType c : ContentType.values()) System.out.println(c);
public static ContentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final int getNumericType()
Copyright © 2015. All rights reserved.