electric.util.io
Class StreamSource

java.lang.Object
  extended byelectric.util.io.StreamSource
All Implemented Interfaces:
ISource

public final class StreamSource
extends java.lang.Object
implements ISource

StreamSource.

Author:
webMethods

Constructor Summary
StreamSource(java.io.InputStream input, int length, long logMask)
           
 
Method Summary
 boolean canResend()
           
static int getBufferSize()
           
 int getLength()
           
static void setBufferSize(int bufferSize)
           
 void write(java.io.OutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamSource

public StreamSource(java.io.InputStream input,
                    int length,
                    long logMask)
Parameters:
input -
length -
logMask -
Method Detail

write

public void write(java.io.OutputStream output)
           throws java.io.IOException
Specified by:
write in interface ISource
Parameters:
output -
Throws:
java.io.IOException

canResend

public boolean canResend()
Specified by:
canResend in interface ISource

getLength

public int getLength()
Specified by:
getLength in interface ISource

setBufferSize

public static void setBufferSize(int bufferSize)
Parameters:
bufferSize -

getBufferSize

public static int getBufferSize()


copyright© 2001-2004 by webMethods All Rights Reserved.