|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.archetype.model.Resource
public class Resource
Describes a resource file.
Constructor Summary | |
---|---|
Resource()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Resource()
Method Detail |
---|
public String getEncoding()
.properties
public String getFile()
public boolean isFiltered()
public void setEncoding(String encoding)
.properties
encoding
- public void setFile(String file)
file
- public void setFiltered(boolean filtered)
filtered
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |