All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.intarsys.tools.tlv.common.TlvInputStream Maven / Gradle / Ivy

There is a newer version: 4.11
Show newest version
package de.intarsys.tools.tlv.common;

import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;

/**
 * An {@link InputStream} returning {@link TlvElement} instances.
 * 
 */
abstract public class TlvInputStream extends FilterInputStream {

	public TlvInputStream(InputStream in) {
		super(in);
	}

	/**
	 * The next available {@link TlvElement} or null if none available.
	 * 
	 * @return The next available {@link TlvElement} or null if none available.
	 * @throws IOException
	 */
	abstract public TlvElement readElement() throws IOException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy