Use Input/Output Stream intefaces instead of concrete classes

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470716 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-11-03 08:16:11 +00:00
parent 36de58b371
commit ede5e3f23e
1 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,9 @@ import org.apache.activemq.wireformat.WireFormat;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.io.DataInput;
import java.io.DataInputStream;
import java.io.DataOutput;
import java.io.DataOutputStream;
import java.io.IOException;
@ -200,11 +202,11 @@ public class XmppWireFormat implements WireFormat {
return unmarshal(dis);
}
public void marshal(Object object, DataOutputStream dataOutputStream) throws IOException {
public void marshal(Object object, DataOutput dataOutput) throws IOException {
/** TODO */
}
public Object unmarshal(DataInputStream dataInputStream) throws IOException {
public Object unmarshal(DataInput dataInput) throws IOException {
return null; /** TODO */
}