|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--ResourceManager.Resource
Resource: Resource reads and holds the binary data of a MacOS Resource and all pertinent information: the ID, name, and size. Public accessor methods are provided to access the info
| Constructor Summary | |
Resource()
|
|
| Method Summary | |
byte[] |
getData()
Returns the raw byte data of the Resource - the heart of the Resource |
short |
getID()
Returns the numeric ID of the Resource |
java.lang.String |
getName()
Returns the name of Resource, if any. |
void |
print(java.io.PrintStream ps)
Dumps the Resource information (not including data) to a Stream |
int |
size()
Returns the size of the Resource data |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Resource()
| Method Detail |
public void print(java.io.PrintStream ps)
ps - the PrintStream to print the infopublic short getID()
public int size()
public java.lang.String getName()
public byte[] getData()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||