intarsys runtime library

de.intarsys.tools.tlv.common
Class TlvInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by de.intarsys.tools.tlv.common.TlvInputStream
All Implemented Interfaces:
Closeable
Direct Known Subclasses:
SimpleInputStream

public abstract class TlvInputStream
extends FilterInputStream

An InputStream returning TlvElement instances.


Constructor Summary
TlvInputStream(InputStream in)
           
 
Method Summary
abstract  TlvElement readElement()
          The next available TlvElement or null if none available.
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TlvInputStream

public TlvInputStream(InputStream in)
Method Detail

readElement

public abstract TlvElement readElement()
                                throws IOException
The next available TlvElement or null if none available.

Returns:
The next available TlvElement or null if none available.
Throws:
IOException

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.