| Modifier and Type | Field and Description |
|---|---|
| private String | encoding
Encoding to use for filenames, defaults to the platform's default encoding. |
| private boolean | failOnError
what to do when it goes pear-shaped |
| private final List | filterChains
Holds FilterChains |
| private String | property
name of property |
| private boolean | quiet
suppress error message if it goes pear-shaped, sets failOnError=false |
| private Resource | src
The resource to load. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addConfigured(ResourceCollection
the resource to load as a single element Resource collection. a)Set the source resource. |
| public final void | |
| public final void | |
| public final void | setEncoding(final String
The new Encoding value encoding)Encoding to use for input, defaults to the platform's default encoding. |
| public final void | |
| public final void | |
| public void | setQuiet(final boolean
The new Quiet value quiet)If true, suppress the load error report and set the the failonerror value to false. |
| encoding | back to summary |
|---|---|
| private String encoding Encoding to use for filenames, defaults to the platform's default encoding. | |
| failOnError | back to summary |
|---|---|
| private boolean failOnError what to do when it goes pear-shaped | |
| filterChains | back to summary |
|---|---|
| private final List<FilterChain> filterChains Holds FilterChains | |
| property | back to summary |
|---|---|
| private String property name of property | |
| quiet | back to summary |
|---|---|
| private boolean quiet suppress error message if it goes pear-shaped, sets failOnError=false | |
| src | back to summary |
|---|---|
| private Resource src The resource to load. | |
| LoadResource | back to summary |
|---|---|
| public LoadResource() | |
| addConfigured | back to summary |
|---|---|
| public void addConfigured(ResourceCollection a) Set the source resource.
| |
| addFilterChain | back to summary |
|---|---|
| public final void addFilterChain(FilterChain filter) Add the FilterChain element.
| |
| execute | back to summary |
|---|---|
| public final void execute() throws BuildException Overrides org. read in a source file to a property
| |
| 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 .
| |
| setFailonerror | back to summary |
|---|---|
| public final void setFailonerror(final boolean fail) If true, fail on load error.
| |
| setProperty | back to summary |
|---|---|
| public final void setProperty(final String property) Property name to save to.
| |
| setQuiet | back to summary |
|---|---|
| public void setQuiet(final boolean quiet) If true, suppress the load error report and set the the failonerror value to false.
| |