| 
 | " 2013 FRC Java 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 | |
|---|---|
|  byte[] | data | 
| protected  boolean | isNew | 
| protected  boolean | isPersistent | 
| protected  int | length | 
|  String | name | 
| Constructor Summary | |
|---|---|
| ResourceFile(String name,
             boolean isPersistent) | |
| ResourceFile(String name,
             byte[] data)Creates a resource file object. | |
| Method Summary | |
|---|---|
|  void | close() | 
|  byte[] | getData() | 
|  void | write(int index,
      byte byt) | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public final String name
public byte[] data
protected boolean isNew
protected boolean isPersistent
protected int length
| Constructor Detail | 
|---|
public ResourceFile(String name,
                    boolean isPersistent)
public ResourceFile(String name,
                    byte[] data)
name - resource namedata - resource data| Method Detail | 
|---|
public void close()
public byte[] getData()
public void write(int index,
                  byte byt)
| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||