org.jasig.portal.serialize
Class CachingWriter
java.lang.Object
java.io.Writer
org.jasig.portal.serialize.CachingWriter
- All Implemented Interfaces:
- CharacterCachingWriter
- public class CachingWriter
- extends java.io.Writer
- implements CharacterCachingWriter
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingWriter
public CachingWriter(java.io.Writer out)
startCaching
public boolean startCaching()
throws java.io.IOException
- Specified by:
startCaching
in interface CharacterCachingWriter
- Throws:
java.io.IOException
getCache
public java.lang.String getCache(java.lang.String encoding)
throws java.io.IOException
- Specified by:
getCache
in interface CharacterCachingWriter
- Throws:
java.io.IOException
stopCaching
public boolean stopCaching()
- Specified by:
stopCaching
in interface CharacterCachingWriter
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface CharacterCachingWriter
- Throws:
java.io.IOException
write
public void write(char[] c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(char[] c,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String str)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException