2010 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
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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comparer

public static final Comparer comparer
Comparator for ResourceFile objects (which are sorted by the resource files).


data

public final byte[] data
The contents of the resource file.


name

public final String name
The name of the resource file, for example "example/chess/br.bishop.gif".

Constructor Detail

ResourceFile

public ResourceFile(String name,
                    byte[] data)
Creates a resource file object.

Parameters:
name - resource name
data - resource data

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.