org.openmdx.base.stream.cci
Interface Source_1_0

All Known Subinterfaces:
BinarySource_1_0, CharacterSource_1_0
All Known Implementing Classes:
BinarySource_1, BinarySource_1, BinarySource_1, BinarySource_1InputStream, BinarySource_1Proxy, BinarySource_1Proxy, BinarySource_1Proxy, CharacterSource_1, CharacterSource_1, CharacterSource_1, CharacterSource_1Proxy, CharacterSource_1Proxy, CharacterSource_1Proxy, CharacterSource_1Reader, InputStream_1, Reader_1, StreamMarshaller.BinarySource_1InputStream, StreamMarshaller.CharacterSource_1Reader

public interface Source_1_0

Streams: Length Interface


Method Summary
 void close()
          Closes this iterator and releases any system resources associated with it.
 long length()
          Get the stream's length
 

Method Detail

close

void close()
           throws IOException
Closes this iterator and releases any system resources associated with it.

No read() operation must be invoked after close().

Throws:
IOException - if an I/O error occurs.

length

long length()
            throws IOException
Get the stream's length

Returns:
the length of the stream or -1 if it is unknown.
Throws:
IOException


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