|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.shell.support.util.TemplateUtils
public final class TemplateUtils
Utilities for dealing with "templates", which are commonly used by ROO add-ons.
Method Summary | |
---|---|
static InputStream |
getTemplate(Class<?> clazz,
String templateFilename)
Deprecated. use FileUtils.getInputStream(Class, String) instead |
static String |
getTemplatePath(Class<?> loadingClass,
String relativeFilename)
Deprecated. use FileUtils.getPath(Class, String) instead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static String getTemplatePath(Class<?> loadingClass, String relativeFilename)
FileUtils.getPath(Class, String)
instead
clazz
- which owns the template (required)templateFilename
- the filename of the template (required)
@Deprecated public static InputStream getTemplate(Class<?> clazz, String templateFilename)
FileUtils.getInputStream(Class, String)
instead
InputStream
to the requested classloader-derived template.
clazz
- which owns the template (required)templateFilename
- the filename of the template (required)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |