Package adalid.commons.velocity
Class VelocityFileResourceLoader.IndentationFilterInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
adalid.commons.velocity.VelocityFileResourceLoader.IndentationFilterInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
VelocityFileResourceLoader
public static class VelocityFileResourceLoader.IndentationFilterInputStream
extends FilterInputStream
Upgrading from Velocity 2.0 to Velocity 2.1 (https://velocity.apache.org/engine/2.1/upgrading.html)
The ResourceLoader class API has replaced InputStream getters by Reader getters: InputStream ResourceLoader.getResourceStream(String name) has
been replaced by a Reader ResourceLoader.getResourceReader(String name, String encoding).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected Stringprotected intFields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
line
-
next
protected int next -
eol
protected boolean eol -
eof
protected boolean eof
-
-
Constructor Details
-
IndentationFilterInputStream
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classFilterInputStream
-