|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.types.DataType gate.util.ant.packager.GazetteerLists
public class GazetteerLists
Class that extracts the list of gazetteer .lst files from a .def.
This class extends DataType
so it can be used as a nested element
within the extraresourcespath of a packagegapp task.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.types.DataType |
---|
checked, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
GazetteerLists()
|
Method Summary | |
---|---|
boolean |
isFilesystemOnly()
ResourceCollection interface: returns true (this collection always exposes only filesystem resources). |
Iterator |
iterator()
ResourceCollection interface: returns an iterator over the list files. |
void |
setDefinition(File definition)
Set the location of the definition file from which the lists should be extracted. |
void |
setEncoding(String encoding)
Set the encoding used to read the definition file. |
int |
size()
ResourceCollection interface: returns the number of list files referenced by this definition. |
Methods inherited from class org.apache.tools.ant.types.DataType |
---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GazetteerLists()
Method Detail |
---|
public void setDefinition(File definition)
org.apache.tools.ant.BuildException
- if an error occurs parsing the definition
file.public Iterator iterator()
iterator
in interface org.apache.tools.ant.types.ResourceCollection
public boolean isFilesystemOnly()
isFilesystemOnly
in interface org.apache.tools.ant.types.ResourceCollection
public int size()
size
in interface org.apache.tools.ant.types.ResourceCollection
public void setEncoding(String encoding)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |