|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.squawk.ResourceFile
public final class ResourceFile
Stores a resource file (name and contents) in the suite file.
| Field Summary | |
|---|---|
static Comparer |
comparer
Comparator for ResourceFile objects (which are sorted by the resource files). |
byte[] |
data
The contents of the resource file. |
String |
name
The name of the resource file, for example "example/chess/br.bishop.gif". |
| Constructor Summary | |
|---|---|
ResourceFile(String name,
byte[] data)
Creates a resource file object. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final String name
public final byte[] data
public static final Comparer comparer
| Constructor Detail |
|---|
public ResourceFile(String name,
byte[] data)
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||