rice.email.proxy.util
Class StringBufferResource
java.lang.Object
rice.email.proxy.util.StringBufferResource
-
All Implemented Interfaces:
- Resource
-
public class StringBufferResource
- extends java.lang.Object
- implements Resource
Field Summary |
protected java.lang.StringBuffer |
buffer
|
static int |
MAXIMUM_LENGTH
|
protected java.io.StringWriter |
writer
The buffers used in the resource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXIMUM_LENGTH
public static int MAXIMUM_LENGTH
writer
protected java.io.StringWriter writer
- The buffers used in the resource
buffer
protected java.lang.StringBuffer buffer
StringBufferResource
public StringBufferResource()
StringBufferResource
public StringBufferResource(java.lang.String initalValue)
getWriter
public java.io.Writer getWriter()
throws java.io.IOException
-
- Specified by:
-
getWriter
in interface Resource
-
-
Throws:
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
-
- Specified by:
-
getInputStream
in interface Resource
-
-
Throws:
java.io.IOException
getReader
public java.io.Reader getReader()
throws java.io.IOException
-
- Specified by:
-
getReader
in interface Resource
-
-
Throws:
java.io.IOException
getSize
public long getSize()
-
- Specified by:
-
getSize
in interface Resource
-
delete
public void delete()
-
- Specified by:
-
delete
in interface Resource
-
Copyright © 2001-2005 - Rice Pastry.