List of usage examples for java.io InputStream subclass-usage
From source file org.apache.pdfbox.preflight.font.util.PeekInputStream.java
public class PeekInputStream extends InputStream { private byte[] content = new byte[0]; private int position = 0; public PeekInputStream(InputStream source) throws IOException { ByteArrayOutputStream bos = new ByteArrayOutputStream();
From source file org.jets3t.service.io.RepeatableInputStream.java
/**
* A repeatable input stream wrapper for any input stream. This input stream relies on buffered
* data to repeat, and can therefore only be repeated when less data has been read than this
* buffer can hold.
* <p>
* <b>Note:</b> Always use a {@link RepeatableFileInputStream} instead of this class if you are
From source file pt.lunacloud.services.storage.internal.RepeatableFileInputStream.java
/** * A repeatable input stream for files. This input stream can be repeated an * unlimited number of times, without any limitation on when a repeat can occur. */ public class RepeatableFileInputStream extends InputStream { private static final Log log = LogFactory.getLog(RepeatableFileInputStream.class);
From source file com.sinacloud.scs.services.scs.model.RepeatableInputStream.java
/**
* A repeatable input stream wrapper for any input stream. This input stream
* relies on buffered data to repeat, and can therefore only be repeated when
* less data has been read than this buffer can hold.
* <p>
* <b>Note:</b> Always use a {@link RepeatableFileInputStream} instead of this
From source file nz.net.kallisti.emusicj.metafiles.streams.EMPDecoderStream.java
/**
* <p>This stream decrypts an eMusic data file.</p>
* <p>The algorithm for this was ported directly from the
* <a href="http://frumppyoldwoman.com/emusicdlm/decrypt-emp.tar.gz">decrypt-emp</a>
* script.</p>
*
From source file com.youzu.android.framework.http.ResponseStream.java
/** * Author: wyouflf * Date: 13-7-31 * Time: ?3:27 */ public class ResponseStream extends InputStream {
From source file cn.ctyun.amazonaws.services.s3.internal.RepeatableInputStream.java
/**
* A repeatable input stream wrapper for any input stream. This input stream
* relies on buffered data to repeat, and can therefore only be repeated when
* less data has been read than this buffer can hold.
* <p>
* <b>Note:</b> Always use a {@link RepeatableFileInputStream} instead of this
From source file com.sina.cloudstorage.services.scs.model.RepeatableInputStream.java
/**
* A repeatable input stream wrapper for any input stream. This input stream
* relies on buffered data to repeat, and can therefore only be repeated when
* less data has been read than this buffer can hold.
* <p>
* <b>Note:</b> Always use a {@link RepeatableFileInputStream} instead of this
From source file org.scilla.core.MediaStream.java
/**
* Media input stream that waits for a file from a runner, catches
* up with it's progress and read till end of file when runner
* has finished.
*
* @author R.W. van 't Veer
From source file net.padaf.preflight.font.type1.PeekInputStream.java
public class PeekInputStream extends InputStream { private byte[] content = new byte[0]; private int position = 0; public PeekInputStream(InputStream source) throws IOException { ByteArrayOutputStream bos = new ByteArrayOutputStream();