public class CodeTool extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
RESOURCE_PATH_PREFIX |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createFileByTmpl() |
void |
debug() |
Object |
get(String key) |
String |
getAbsolutePath() |
Map |
getContext() |
String |
getEncoding() |
boolean |
getIsDebug() |
String |
getTemplatePath()
取锟斤拷Class路锟斤拷
|
String |
getText(String text) |
String |
getTmplFile() |
void |
initVelocity() |
static void |
main(String[] args) |
void |
put(Map paramMap) |
void |
put(String key,
Object value) |
void |
setAbsolutePath(String absolutePath) |
void |
setContext(Map context) |
void |
setEncoding(String encoding) |
void |
setIsDebug(boolean isDebug) |
void |
setTmplDir(String tmplDir) |
void |
setTmplFile(String tmplFile) |
public static String RESOURCE_PATH_PREFIX
public boolean getIsDebug()
public void put(Map paramMap)
public void setIsDebug(boolean isDebug)
public String getTmplFile()
public void setTmplFile(String tmplFile)
public String getEncoding()
public void setEncoding(String encoding)
public String getAbsolutePath()
public void setAbsolutePath(String absolutePath)
public Map getContext()
public void setContext(Map context)
public String getTemplatePath()
public void setTmplDir(String tmplDir)
public void initVelocity()
Copyright © 2018. All rights reserved.