KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > marshall > ObjectStreamFactory


1 package org.jboss.cache.marshall;
2
3 import java.io.IOException JavaDoc;
4 import java.io.ObjectInputStream JavaDoc;
5 import java.io.ObjectOutputStream JavaDoc;
6 import java.io.OutputStream JavaDoc;
7
8 /**
9  * @author Clebert Suconic
10  * @since 1.4.1
11  */

12 public interface ObjectStreamFactory
13 {
14    public ObjectOutputStream JavaDoc createObjectOutputStream(OutputStream JavaDoc out) throws IOException JavaDoc;
15
16    public ObjectInputStream JavaDoc createObjectInputStream(byte[] bytes) throws IOException JavaDoc;
17 }
18
Popular Tags