GATE
Version 3.1-2270

gate
Class Gate.DirectoryInfo

java.lang.Object
  extended by gate.Gate.DirectoryInfo
Enclosing class:
Gate

public static class Gate.DirectoryInfo
extends Object

Stores information about the contents of a CREOLE directory.


Field Summary
protected  List resourceInfoList
          The list of Gate.ResourceInfo objects.
protected  URL url
          The URL for the CREOLE directory.
protected  boolean valid
          Is the directory valid (i.e. is the location reachable and the creole.xml file parsable).
 
Constructor Summary
Gate.DirectoryInfo(URL url)
           
 
Method Summary
 List getResourceInfoList()
           
 URL getUrl()
           
 boolean isValid()
           
protected  void parseCreole()
          Performs a shallow parse of the creole.xml file to get the information about the resources contained.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected URL url
The URL for the CREOLE directory.


valid

protected boolean valid
Is the directory valid (i.e. is the location reachable and the creole.xml file parsable).


resourceInfoList

protected List resourceInfoList
The list of Gate.ResourceInfo objects.

Constructor Detail

Gate.DirectoryInfo

public Gate.DirectoryInfo(URL url)
Method Detail

parseCreole

protected void parseCreole()
Performs a shallow parse of the creole.xml file to get the information about the resources contained.


getResourceInfoList

public List getResourceInfoList()
Returns:
Returns the resourceInfoList.

getUrl

public URL getUrl()
Returns:
Returns the url.

isValid

public boolean isValid()
Returns:
Returns the valid.

GATE
Version 3.1-2270