|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cult3d.world.Resource
This class provides a way to extract resources from a Cult3D object. A resource is any kind of data that can be represented with an byte array.
Constructor Summary | |
Resource(java.lang.String name)
Constructs a Java representation of a Cult3D resource. |
Method Summary | |
java.lang.String |
getInfo()
Returns a string representation of the values of this object. |
java.lang.String |
getName()
Gets the name of this resource. |
byte[] |
getResource()
Extracts the resource in the form of a byte array. |
java.lang.String |
toString()
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Resource(java.lang.String name)
name
- the name of the resource.Method Detail |
public byte[] getResource()
public java.lang.String getName()
public java.lang.String getInfo()
Returns a string representation of the values of this object.
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D.
public java.lang.String toString()
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |