public final class TemplatePreprocessingReader extends Reader
Modifier and Type | Field and Description |
---|---|
static char |
CHAR_ENTITY_START_SUBSTITUTE |
static String |
SYNTHETIC_ROOT_ELEMENT_NAME |
Constructor and Description |
---|
TemplatePreprocessingReader(Reader in,
int bufferSize) |
TemplatePreprocessingReader(Reader in,
int bufferSize,
boolean addSyntheticRootElement) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getDocTypeClause() |
Reader |
getInnerReader() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] cbuf) |
int |
read(char[] cbuf,
int off,
int len) |
int |
read(CharBuffer target) |
boolean |
ready() |
static void |
removeEntitySubstitutions(char[] text,
int off,
int len) |
static String |
removeEntitySubstitutions(String text) |
void |
reset() |
long |
skip(long n) |
public static final char CHAR_ENTITY_START_SUBSTITUTE
public static final String SYNTHETIC_ROOT_ELEMENT_NAME
public TemplatePreprocessingReader(Reader in, int bufferSize)
public TemplatePreprocessingReader(Reader in, int bufferSize, boolean addSyntheticRootElement)
in
- inbufferSize
- bufferSizeaddSyntheticRootElement
- addSyntheticRootElementpublic int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public int read() throws IOException
read
in class Reader
IOException
public int read(CharBuffer target) throws IOException
read
in interface Readable
read
in class Reader
IOException
public int read(char[] cbuf) throws IOException
read
in class Reader
IOException
public long skip(long n) throws IOException
skip
in class Reader
IOException
public boolean ready() throws IOException
ready
in class Reader
IOException
public boolean markSupported()
markSupported
in class Reader
public void mark(int readAheadLimit) throws IOException
mark
in class Reader
IOException
public void reset() throws IOException
reset
in class Reader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public String getDocTypeClause()
public static void removeEntitySubstitutions(char[] text, int off, int len)
public Reader getInnerReader()
Copyright © 2017 The THYMELEAF team. All rights reserved.