|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.Gate.DirectoryInfo
public static class Gate.DirectoryInfo
Stores information about the contents of a CREOLE directory.
Field Summary | |
---|---|
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 Summary | |
---|---|
Gate.DirectoryInfo(URL url)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected URL url
protected boolean valid
protected List<Gate.ResourceInfo> resourceInfoList
Gate.ResourceInfo
objects.
Constructor Detail |
---|
public Gate.DirectoryInfo(URL url)
Method Detail |
---|
public boolean isCorePlugin()
public boolean isRemotePlugin()
public boolean isUserPlugin()
public String toHTMLString()
public String getName()
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 URL getUrl()
public boolean isValid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |