public static class Gate.DirectoryInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected List<Gate.ResourceInfo> |
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 and Description |
---|
Gate.DirectoryInfo(URL url) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillInResInfos(List<Gate.ResourceInfo> incompleteResInfos,
List<String> allJars) |
String |
getName() |
List<Gate.ResourceInfo> |
getResourceInfoList() |
URL |
getUrl() |
boolean |
isCorePlugin() |
boolean |
isRemotePlugin() |
boolean |
isUserPlugin() |
boolean |
isValid() |
protected void |
parseCreole()
Performs a shallow parse of the creole.xml file to get the information
about the resources contained.
|
protected void |
scanJar(URL jarUrl,
Map<String,Gate.ResourceInfo> resInfos) |
String |
toHTMLString() |
protected boolean valid
protected List<Gate.ResourceInfo> resourceInfoList
Gate.ResourceInfo
objects.public Gate.DirectoryInfo(URL url)
public boolean isCorePlugin()
public boolean isRemotePlugin()
public boolean isUserPlugin()
public String toHTMLString()
protected void parseCreole()
protected void scanJar(URL jarUrl, Map<String,Gate.ResourceInfo> resInfos) throws IOException
IOException
protected void fillInResInfos(List<Gate.ResourceInfo> incompleteResInfos, List<String> allJars) throws IOException
IOException
public List<Gate.ResourceInfo> getResourceInfoList()
public boolean isValid()