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.utils;
07:
08: import java.io.IOException;
09:
10: /**
11: * An interface for common methods in <code>Writer</code>s and <code>OutputStream</code>s.
12: *
13: * @author Peter Kharchenko {@link <a href="mailto:pkharchenko@interactivebusiness.com"">pkharchenko@interactivebusiness.com"</a>}
14: * @version $Revision: 36690 $
15: */
16: public interface IWriteable {
17:
18: public void write(int i) throws IOException;
19:
20: public void flush() throws IOException;
21:
22: public void close() throws IOException;
23:
24: public void write(int[] iBuf, int off, int len) throws IOException;
25:
26: public void write(int[] iBuf) throws IOException;
27: }
|