gec.gctparser
Class Resource

java.lang.Object
  extended by gec.gctparser.Resource

public class Resource
extends java.lang.Object

Process the Resource.

Author:
bburch

Constructor Summary
Resource(java.lang.String base, java.lang.String file)
          Constructor.
 
Method Summary
 java.util.Vector getLibraries()
          Return the libraries to search.
 void process(java.util.Vector vot)
          Process the remaining tokens.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource

public Resource(java.lang.String base,
                java.lang.String file)
Constructor. Looks for libraries to include. This MUST (?) be under a PROJECT.

Parameters:
base - String - the base GCT directory
file - String - the path of the resource
Method Detail

getLibraries

public java.util.Vector getLibraries()
Return the libraries to search.

Returns:
Vector - vector of String - pathnames to library directories

process

public void process(java.util.Vector vot)
Process the remaining tokens. RESOURCE name ON NOTUSED TASK task ON EUM ; PROGRAM program WITH task : programType ; END_RESOURCE

Parameters:
vot - Vector of String