| Modifier and Type | Field and Description |
|---|---|
| private String | encoding
Encoding to use for input; defaults to the platform's default encoding. |
| private final List | filterChains
Holds filterchains |
| private String | prefix
Prefix for loaded properties. |
| private boolean | |
| private Resource | src
Source resource. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | addConfigured(ResourceCollection
the resource to load as a single element Resource collection. a)Set the source resource. |
| public final void | |
| public Path | Returns: The classpath to be configuredAdd a classpath to use when looking up a resource. |
| public final void | execute()
Overrides org. |
| public Path | |
| private synchronized JavaResource | |
| public void | setClasspath(Path
to add to any existing classpath classpath)Set the classpath to use when looking up a resource. |
| public void | setClasspathRef(Reference
The reference value r)Set the classpath to use when looking up a resource, given as reference to a <path> defined elsewhere |
| public final void | setEncoding(final String
The new Encoding value encoding)Encoding to use for input, defaults to the platform's default encoding. |
| public void | |
| public void | setPrefixValues(boolean
boolean b)Whether to apply the prefix when expanding properties on the right hand side of a properties file as well. |
| public void | |
| public final void |
| encoding | back to summary |
|---|---|
| private String encoding Encoding to use for input; defaults to the platform's default encoding. | |
| filterChains | back to summary |
|---|---|
| private final List<FilterChain> filterChains Holds filterchains | |
| prefix | back to summary |
|---|---|
| private String prefix Prefix for loaded properties. | |
| prefixValues | back to summary |
|---|---|
| private boolean prefixValues | |
| src | back to summary |
|---|---|
| private Resource src Source resource. | |
| LoadProperties | back to summary |
|---|---|
| public LoadProperties() | |
| addConfigured | back to summary |
|---|---|
| public synchronized void addConfigured(ResourceCollection a) Set the source resource.
| |
| addFilterChain | back to summary |
|---|---|
| public final void addFilterChain(FilterChain filter) Adds a FilterChain.
| |
| createClasspath | back to summary |
|---|---|
| public Path createClasspath() Add a classpath to use when looking up a resource.
| |
| execute | back to summary |
|---|---|
| public final void execute() throws BuildException Overrides org. load Ant properties from the source file or resource
| |
| getClasspath | back to summary |
|---|---|
| public Path getClasspath() get the classpath used by this
| |
| getRequiredJavaResource | back to summary |
|---|---|
| private synchronized JavaResource getRequiredJavaResource() | |
| setClasspath | back to summary |
|---|---|
| public void setClasspath(Path classpath) Set the classpath to use when looking up a resource.
| |
| setClasspathRef | back to summary |
|---|---|
| public void setClasspathRef(Reference r) Set the classpath to use when looking up a resource, given as reference to a <path> defined elsewhere
| |
| setEncoding | back to summary |
|---|---|
| public final void setEncoding(final String encoding) Encoding to use for input, defaults to the platform's default encoding. For a list of possible values see https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html .
| |
| setPrefix | back to summary |
|---|---|
| public void setPrefix(String prefix) Set the prefix to load these properties under.
| |
| setPrefixValues | back to summary |
|---|---|
| public void setPrefixValues(boolean b) Whether to apply the prefix when expanding properties on the right hand side of a properties file as well.
| |
| setResource | back to summary |
|---|---|
| public void setResource(String resource) Set the resource name of a property file to load.
| |
| setSrcFile | back to summary |
|---|---|
| public final void setSrcFile(final File srcFile) Set the file to load.
| |