electric.util.io
Class ArraySource

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

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

ArraySource.

Author:
webMethods

Constructor Summary
ArraySource(byte[] buffer, long logMask)
           
ArraySource(byte[] buffer, long logMask, int offset, int length)
           
ArraySource(ByteArray byteArray, long logMask)
           
 
Method Summary
 boolean canResend()
           
 ByteArray getByteArray()
           
 int getLength()
           
 int getOffset()
           
 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

ArraySource

public ArraySource(byte[] buffer,
                   long logMask)
Parameters:
buffer -
logMask -

ArraySource

public ArraySource(byte[] buffer,
                   long logMask,
                   int offset,
                   int length)
Parameters:
buffer -
logMask -
offset -
length -

ArraySource

public ArraySource(ByteArray byteArray,
                   long logMask)
Parameters:
byteArray -
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

getOffset

public int getOffset()

getByteArray

public ByteArray getByteArray()


copyright© 2001-2004 by webMethods All Rights Reserved.