public class Resource
extends java.lang.Object
implements java.io.Serializable
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.
|
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
- Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.