Example usage for java.io BufferedInputStream subclass-usage

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

Introduction

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

Usage

From source file org.mule.transport.sftp.SftpInputStream.java

/**
 * <code>SftpInputStream</code> wraps an sftp InputStream.
 */

public class SftpInputStream extends BufferedInputStream implements ErrorOccurredDecorator {
    private final Log logger = LogFactory.getLog(getClass());

From source file org.droidparts.http.worker.ConsumingInputStream.java

public class ConsumingInputStream extends BufferedInputStream {

    private final HttpURLConnection conn;
    private final HttpEntity entity;

    public ConsumingInputStream(InputStream is, HttpURLConnection conn) {

From source file org.droidparts.http.wrapper.ConsumingInputStream.java

public class ConsumingInputStream extends BufferedInputStream {

    private final HttpURLConnection conn;
    private final HttpEntity entity;

    public ConsumingInputStream(InputStream is, HttpURLConnection conn) {

From source file jhttpp2.Jhttpp2ClientInputStream.java

/**
 * File: Jhttpp2BufferedFilterStream.java
 * 
 * @author Benjamin Kohl
 */
public class Jhttpp2ClientInputStream extends BufferedInputStream {

From source file org.droidparts.http.worker.HTTPInputStream.java

public class HTTPInputStream extends BufferedInputStream {

    public static HTTPInputStream getInstance(HttpURLConnection conn, boolean useErrorStream) throws HTTPException {
        try {
            InputStream is = useErrorStream ? conn.getErrorStream() : conn.getInputStream();
            is = getUnpackedInputStream(conn.getContentEncoding(), is);

From source file SniffedXmlInputStream.java

public class SniffedXmlInputStream extends BufferedInputStream {
    // We don't sniff more than 192 bytes.
    public static int MAX_SNIFFED_BYTES = 192;

    public SniffedXmlInputStream(InputStream stream) throws IOException {
        super(stream);

From source file org.openymsg.network.YMSG9InputStream.java

/**
 * A YMSG9 packet has a 20 byte fixed format header. The first four bytes are the magic code "YMSG". The next four
 * contain the protocol version 0x09000000. The next two are the size in bytes of the body. Following this a two byte
 * service id (which effectively determines the message/body type). Then a four byte status code, usually zero on
 * outgoing packets. Finally a four byte session code, which should always parrot in outgoing packets the last incoming
 * packet (it can switch mid-session, apparently!)

From source file com.liferay.ide.server.remote.RemoteLogStream.java

/**
 * @author Greg Amerson
 * @author Tao Tao
 * @author Simon Jiang
 */
public class RemoteLogStream extends BufferedInputStream {

From source file SniffedXmlReader.java

class SniffedXmlInputStream extends BufferedInputStream {
    // We don't sniff more than 192 bytes.
    public static int MAX_SNIFFED_BYTES = 192;

    public SniffedXmlInputStream(InputStream stream) throws IOException {
        super(stream);

From source file XmlEncodingSniffer.java

class SniffedXmlInputStream extends BufferedInputStream {
    // We don't sniff more than 192 bytes.
    public static int MAX_SNIFFED_BYTES = 192;

    public SniffedXmlInputStream(InputStream stream) throws IOException {
        super(stream);