Package com._1c.g5.modeling.xml.util
Class StringInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.ByteArrayInputStream
-
- com._1c.g5.modeling.xml.util.StringInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class StringInputStream extends ByteArrayInputStream
-
-
Field Summary
-
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos
-
-
Constructor Summary
Constructors Constructor Description StringInputStream(String string)
StringInputStream(String content, String encoding)
-
Method Summary
-
Methods inherited from class java.io.ByteArrayInputStream
available, close, mark, markSupported, read, read, readAllBytes, readNBytes, reset, skip, transferTo
-
Methods inherited from class java.io.InputStream
nullInputStream, read, readNBytes
-
-
-
-
Constructor Detail
-
StringInputStream
public StringInputStream(String string)
-
StringInputStream
public StringInputStream(String content, String encoding) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
-