public class Resource extends Object implements Serializable
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding()
Get the encoding to be used when reading/writing this file.
|
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(String encoding)
Set the encoding to be used when reading/writing this file.
|
void |
setFile(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 String getEncoding()
.propertiespublic String getFile()
public boolean isFiltered()
public void setEncoding(String encoding)
.propertiesencoding - public void setFile(String file)
file - public void setFiltered(boolean filtered)
filtered - Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.