public class Resource
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
encoding
The encoding to be used when reading/writing this file.
|
private java.lang.String |
file
The resource file.
|
private boolean |
filtered
A resource can be filtered, which means the file will be
used as Velocity template.
|
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncoding()
Get the encoding to be used when reading/writing this file.
|
java.lang.String |
getFile()
Get the resource file.
|
boolean |
isFiltered()
Get a resource can be filtered, which means the file will be
used as Velocity template.
|
void |
setEncoding(java.lang.String encoding)
Set the encoding to be used when reading/writing this file.
|
void |
setFile(java.lang.String file)
Set the resource file.
|
void |
setFiltered(boolean filtered)
Set a resource can be filtered, which means the file will be
used as Velocity template.
|
private java.lang.String file
private java.lang.String encoding
.properties
private boolean filtered
public java.lang.String getEncoding()
.properties
public java.lang.String getFile()
public boolean isFiltered()
public void setEncoding(java.lang.String encoding)
.properties
encoding
- public void setFile(java.lang.String file)
file
- public void setFiltered(boolean filtered)
filtered
-