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.
name
public final String name
data
public byte[] data
isNew
protected boolean isNew
isPersistent
protected boolean isPersistent
length
protected int length
ResourceFile
public ResourceFile(String name,
boolean isPersistent)
ResourceFile
public ResourceFile(String name,
byte[] data)
- Creates a resource file object.
- Parameters:
name
- resource namedata
- resource data
close
public void close()
getData
public byte[] getData()
write
public void write(int index,
byte byt)
"For updated information see the Java FRC site"