org.openmdx.base.stream.rmi.spi
Interface StreamSynchronization_1_0.SourceEntry

Enclosing interface:
StreamSynchronization_1_0

public static interface StreamSynchronization_1_0.SourceEntry

Source Entry


Method Summary
 InputStream getBinaryStream()
          To retrieve a binary source's InputStream.
 Reader getCharacterStream()
          To retrieve a character source's Reader.
 long getLength()
          Retrieve length.
 void setTransactionalSource(Source_1_0 transactionalSource)
          Set transactionalSource.
 

Method Detail

getBinaryStream

InputStream getBinaryStream()
                            throws IOException
To retrieve a binary source's InputStream.

Returns:
the entry's binary stream
Throws:
IOException

getCharacterStream

Reader getCharacterStream()
                          throws IOException
To retrieve a character source's Reader.

Returns:
the entry's character stream
Throws:
IOException

setTransactionalSource

void setTransactionalSource(Source_1_0 transactionalSource)
Set transactionalSource.

Parameters:
transactionalSource - The transactionalSource to set.

getLength

long getLength()
Retrieve length.

Returns:
Returns the length.


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.