|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Compileable
Defines an interface for two ways of compiling a template: from an InputStream, and optionally, a character encoding.
| Method Summary | |
|---|---|
void |
compileFromStream(java.io.InputStream stream)
Compiles the template from an InputStream, using the
platform's default character encoding. |
void |
compileFromStream(java.io.InputStream stream,
java.lang.String encoding)
Compiles the template from an InputStream, using the
specified character encoding. |
| Method Detail |
|---|
void compileFromStream(java.io.InputStream stream)
throws java.io.IOException,
ParseException
InputStream, using the
platform's default character encoding. If the template has
already been compiled, this method does nothing.
stream - an InputStream from which the
template can be read.
java.io.IOException
ParseException
void compileFromStream(java.io.InputStream stream,
java.lang.String encoding)
throws java.io.IOException,
ParseException
InputStream, using the
specified character encoding. If the template has
already been compiled, this method does nothing.
stream - an InputStream from which the
template can be read.encoding - the text encoding of the InputStream
java.io.IOException
ParseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||