org.codehaus.wadi.core.util
Class SimpleStreamer

java.lang.Object
  extended by org.codehaus.wadi.core.util.SimpleStreamer
All Implemented Interfaces:
Streamer

public class SimpleStreamer
extends java.lang.Object
implements Streamer

Don't do anything extra, just connect streams up directly.

Version:
$Revision: 2281 $
Author:
Jules Gosnell

Constructor Summary
SimpleStreamer()
           
SimpleStreamer(java.lang.ClassLoader classLoader)
           
 
Method Summary
 java.io.ObjectInput getInputStream(java.io.InputStream is)
           
 java.io.ObjectOutput getOutputStream(java.io.OutputStream os)
           
 java.lang.String getSuffix()
           
 java.lang.String getSuffixWithDot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleStreamer

public SimpleStreamer()

SimpleStreamer

public SimpleStreamer(java.lang.ClassLoader classLoader)
Method Detail

getInputStream

public java.io.ObjectInput getInputStream(java.io.InputStream is)
                                   throws java.io.IOException
Specified by:
getInputStream in interface Streamer
Throws:
java.io.IOException

getOutputStream

public java.io.ObjectOutput getOutputStream(java.io.OutputStream os)
                                     throws java.io.IOException
Specified by:
getOutputStream in interface Streamer
Throws:
java.io.IOException

getSuffix

public java.lang.String getSuffix()
Specified by:
getSuffix in interface Streamer

getSuffixWithDot

public java.lang.String getSuffixWithDot()
Specified by:
getSuffixWithDot in interface Streamer


Copyright © 2010. All Rights Reserved.