Resource

public class Resource

A resource with a name and a value (data).

Constructors

Resource

public Resource(String rname, ByteBuffer data, int encoding, int kind)

Methods

getData

public ByteBuffer getData()
Returns:the resource value.

getEncoding

public int getEncoding()
Returns:the encoding of the resource value.

getKind

public int getKind()
Returns:the kind of the resource.

getRname

public String getRname()
Returns:the resource name.