public class GazetteerLists
extends org.apache.tools.ant.types.DataType
implements org.apache.tools.ant.types.ResourceCollection
DataType so it can be used as a nested element
within the extraresourcespath of a packagegapp task.| Constructor and Description |
|---|
GazetteerLists() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFilesystemOnly()
ResourceCollection interface: returns true (this collection always
exposes only filesystem resources).
|
Iterator<org.apache.tools.ant.types.Resource> |
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.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void setDefinition(File definition)
org.apache.tools.ant.BuildException - if an error occurs parsing the definition
file.public Iterator<org.apache.tools.ant.types.Resource> iterator()
public boolean isFilesystemOnly()
isFilesystemOnly in interface org.apache.tools.ant.types.ResourceCollectionpublic int size()
size in interface org.apache.tools.ant.types.ResourceCollectionpublic void setEncoding(String encoding)
Copyright © 2024 GATE. All rights reserved.