"

2013 FRC Java API

"

com.sun.squawk
Class ResourceFile

java.lang.Object
  extended by 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)

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"