ants.gnutant
Class GnutantResourceSet

java.lang.Object
  |
  +--ants.gnutant.GnutantResourceSet
All Implemented Interfaces:
Clearable, ResourceSet

public class GnutantResourceSet
extends Object
implements ResourceSet

Version:
$Revision: 1.2 $
Author:
Alberto Montresor

Field Summary
static String PAR_FILENAME
          String name of the parameter used to determine the
static String PAR_SIZE
          String name of the parameter used to determine the number of of resources contained in this resource set.
 
Fields inherited from interface antsim.ResourceSet
NAME
 
Constructor Summary
GnutantResourceSet(Factory factory, String name)
           
 
Method Summary
 void clear()
          Restores the object to its initial state.
 List getResources()
          Returns a list containing the resources contained in this resource set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAR_SIZE

public static final String PAR_SIZE
String name of the parameter used to determine the number of of resources contained in this resource set.

See Also:
Constant Field Values

PAR_FILENAME

public static final String PAR_FILENAME
String name of the parameter used to determine the

See Also:
Constant Field Values
Constructor Detail

GnutantResourceSet

public GnutantResourceSet(Factory factory,
                          String name)
Method Detail

clear

public void clear()
Restores the object to its initial state.

Specified by:
clear in interface Clearable

getResources

public List getResources()
Description copied from interface: ResourceSet
Returns a list containing the resources contained in this resource set. Returns null if the list is empty.

Specified by:
getResources in interface ResourceSet