01: /* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.serialize;
07:
08: import java.io.IOException;
09: import java.io.UnsupportedEncodingException;
10:
11: public interface CharacterCachingWriter {
12:
13: public boolean startCaching() throws IOException;
14:
15: public boolean stopCaching();
16:
17: public String getCache(String encoding)
18: throws UnsupportedEncodingException, IOException;
19:
20: public void flush() throws IOException;
21:
22: }
|