Class StringBufferResource
- java.lang.Object
-
- com.icegreen.greenmail.foedus.util.StringBufferResource
-
-
Constructor Summary
Constructors Constructor Description StringBufferResource()
StringBufferResource(java.lang.String initalValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
java.lang.String
getAsString()
java.io.InputStream
getInputStream()
java.io.Reader
getReader()
long
getSize()
java.io.Writer
getWriter()
-
-
-
Method Detail
-
getWriter
public java.io.Writer getWriter() throws java.io.IOException
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Specified by:
getInputStream
in interfaceResource
- Throws:
java.io.IOException
-
getReader
public java.io.Reader getReader() throws java.io.IOException
-
getAsString
public java.lang.String getAsString() throws java.io.IOException
- Specified by:
getAsString
in interfaceResource
- Throws:
java.io.IOException
-
-