Class StringInputStream

java.lang.Object
java.io.InputStream
org.codehaus.plexus.util.StringInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

@Deprecated public class StringInputStream extends InputStream
Deprecated.
As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, wrap the output from String.getBytes(String) into a ByteArrayInputStream.
Wraps a String as an InputStream. Note that data will be lost for characters not in ISO Latin 1, as a simple char->byte mapping is assumed.
Author:
Magesh Umasankar