|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Compileable
Defines an interface for three ways of compiling a template: from an InputStream, and optionally, a character encoding.
Method Summary | |
---|---|
void |
compile(InputSource source)
Compiles the template from an InputSource . |
void |
compileFromStream(java.io.InputStream stream)
Deprecated. use the compile(freemarker.template.InputSource) method to supply
source streams to the template compiler |
void |
compileFromStream(java.io.InputStream stream,
java.lang.String encoding)
Deprecated. use the compile(freemarker.template.InputSource) method to supply
source streams to the template compiler |
Method Detail |
---|
@Deprecated void compileFromStream(java.io.InputStream stream) throws java.io.IOException, ParseException
compile(freemarker.template.InputSource)
method to supply
source streams to the template compiler
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
@Deprecated void compileFromStream(java.io.InputStream stream, java.lang.String encoding) throws java.io.IOException, ParseException
compile(freemarker.template.InputSource)
method to supply
source streams to the template compiler
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
void compile(InputSource source) throws java.io.IOException, java.lang.IllegalArgumentException
InputSource
. If the template
has already been compiled, this method does nothing.
source
- an InputSource
from which the
template can be read.
java.io.IOException
java.lang.IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |