Package org.apache.tools.ant.filters
Class StringInputStream
java.lang.Object
java.io.InputStream
org.apache.tools.ant.util.ReaderInputStream
org.apache.tools.ant.filters.StringInputStream
-
Constructor Summary
ConstructorDescriptionStringInputStream
(String source) Composes a stream from a StringStringInputStream
(String source, String encoding) Composes a stream from a String with the specified encoding -
Method Summary
Methods inherited from class org.apache.tools.ant.util.ReaderInputStream
close, read, read, read
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
StringInputStream
Composes a stream from a String- Parameters:
source
- The string to read from. Must not benull
.
-
StringInputStream
-