Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.squawk
Class ResourceFile

    java.lang.Object
      com.sun.squawk.ResourceFile

    public final class ResourceFile

extends Object

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

### name

    public final String name

### data

    public byte[] data

### isNew

    protected boolean isNew

### isPersistent

    protected boolean isPersistent

### length

    protected int length

Constructor Detail

### ResourceFile

    public ResourceFile(String name,
                        boolean isPersistent)

### ResourceFile

    public ResourceFile(String name,
                        byte[] data)

  Creates a resource file object.

  Parameters:
    `name` - resource name
    `data` - resource data

Method Detail

### close

    public void close()

### getData

    public byte[] getData()

### write

    public void write(int index,
                      byte byt)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"