org.n52.security.util
Class StringInputStream
java.lang.Object
java.io.InputStream
org.n52.security.util.StringInputStream
- public class StringInputStream
- extends java.io.InputStream
Tasks of Class StringInputStream:
- This is a Low Memory Implementation to convert a String in a InputStream
- It converts only CHAR_BUFFER_SIZE chars at once
- Author:
- reiprecht
Constructor Summary |
StringInputStream(java.lang.String pContent,
java.lang.String pCharset)
|
Methods inherited from class java.io.InputStream |
close, mark, markSupported, read, read, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringInputStream
public StringInputStream(java.lang.String pContent,
java.lang.String pCharset)
throws java.io.UnsupportedEncodingException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Throws:
java.io.IOException
reset
public void reset()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2004-2007 52 North. All Rights Reserved.