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 ReaderIOExceptionpublic int read()
throws IOException
read in class ReaderIOExceptionpublic int read(CharBuffer target) throws IOException
read in interface Readableread in class ReaderIOExceptionpublic int read(char[] cbuf)
throws IOException
read in class ReaderIOExceptionpublic long skip(long n)
throws IOException
skip in class ReaderIOExceptionpublic boolean ready()
throws IOException
ready in class ReaderIOExceptionpublic boolean markSupported()
markSupported in class Readerpublic void mark(int readAheadLimit)
throws IOException
mark in class ReaderIOExceptionpublic void reset()
throws IOException
reset in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionpublic String getDocTypeClause()
public static void removeEntitySubstitutions(char[] text,
int off,
int len)
public Reader getInnerReader()
Copyright © 2016 The THYMELEAF team. All rights reserved.