Example usage for java.io InputStream subclass-usage

List of usage examples for java.io InputStream subclass-usage

Introduction

In this page you can find the example usage for java.io InputStream subclass-usage.

Usage

From source file org.apache.james.mime4j.decoder.Base64InputStream.java

/**
 * Performs Base-64 decoding on an underlying stream.
 * 
 * 
 * @version $Id: Base64InputStream.java,v 1.3 2004/11/29 13:15:47 ntherning Exp $
 */

From source file com.apporiented.hermesftp.streams.BlockModeInputStream.java

/**
 * Reads a stream formatted in block mode, extracts the data contents and registers restart markers.
 * 
 * @author Lars Behnke
 */
public class BlockModeInputStream extends InputStream implements RecordReadSupport, BlockModeConstants {

From source file org.apache.cxf.io.ReaderInputStream.java

/**
 * {@link InputStream} implementation that reads a character stream from a {@link Reader}
 * and transforms it to a byte stream using a specified charset encoding. The stream
 * is transformed using a {@link CharsetEncoder} object, guaranteeing that all charset
 * encodings supported by the JRE are handled correctly. In particular for charsets such as
 * UTF-16, the implementation ensures that one and only one byte order marker

From source file com.hypersocket.ui.ReaderInputStream.java

/**
 * {@link InputStream} implementation that reads a character stream from a {@link Reader}
 * and transforms it to a byte stream using a specified charset encoding. The stream
 * is transformed using a {@link CharsetEncoder} object, guaranteeing that all charset
 * encodings supported by the JRE are handled correctly. In particular for charsets such as
 * UTF-16, the implementation ensures that one and only one byte order marker

From source file net.anthavio.httl.util.ReaderInputStream.java

/**
 * {@link InputStream} implementation that reads a character stream from a {@link Reader}
 * and transforms it to a byte stream using a specified charset encoding. The stream
 * is transformed using a {@link CharsetEncoder} object, guaranteeing that all charset
 * encodings supported by the JRE are handled correctly. In particular for charsets such as
 * UTF-16, the implementation ensures that one and only one byte order marker

From source file com.examples.with.different.packagename.idnaming.ReaderInputStream.java

/**
 * {@link InputStream} implementation that reads a character stream from a {@link Reader}
 * and transforms it to a byte stream using a specified charset encoding. The stream
 * is transformed using a {@link CharsetEncoder} object, guaranteeing that all charset
 * encodings supported by the JRE are handled correctly. In particular for charsets such as
 * UTF-16, the implementation ensures that one and only one byte order marker

From source file com.google.ratel.deps.io.input.ReaderInputStream.java

/**
 * {@link InputStream} implementation that reads a character stream from a {@link Reader}
 * and transforms it to a byte stream using a specified charset encoding. The stream
 * is transformed using a {@link CharsetEncoder} object, guaranteeing that all charset
 * encodings supported by the JRE are handled correctly. In particular for charsets such as
 * UTF-16, the implementation ensures that one and only one byte order marker

From source file de.dentrassi.rpm.RpmInputStream.java

public class RpmInputStream extends InputStream {
    private final static Logger logger = LoggerFactory.getLogger(RpmInputStream.class);

    private static final byte[] LEAD_MAGIC = new byte[] { (byte) 0xED, (byte) 0xAB, (byte) 0xEE, (byte) 0xDB };

    private static final byte[] HEADER_MAGIC = new byte[] { (byte) 0x8E, (byte) 0xAD, (byte) 0xE8 };

From source file org.eclipse.packagedrone.utils.rpm.RpmInputStream.java

public class RpmInputStream extends InputStream {
    private final static Logger logger = LoggerFactory.getLogger(RpmInputStream.class);

    private static final byte[] LEAD_MAGIC = new byte[] { (byte) 0xED, (byte) 0xAB, (byte) 0xEE, (byte) 0xDB };

    private static final byte[] HEADER_MAGIC = new byte[] { (byte) 0x8E, (byte) 0xAD, (byte) 0xE8 };

From source file org.jnetstream.capture.PacketInputStream.java

/**
 * <p>
 * A <code>PacketInputStream</code> deserializes <code>Packet</code> objects
 * into <code>DeserializedPacket</code> objects previously written using a
 * <code>PacketOutputStream</code>. <code>DeserializedPacket</code>
 * interface is a subclass of <code>CapturePacket</code> which adds several