List of usage examples for java.io InputStream subclass-usage
From source file CachingInputStream.java
public class CachingInputStream extends InputStream { private final InputStream is; private final ByteArrayOutputStream baos = new ByteArrayOutputStream(); public CachingInputStream(InputStream is) { this.is = is;
From source file org.madsonic.io.TranscodeInputStream.java
/**
* Subclass of {@link InputStream} which provides on-the-fly transcoding.
* Instances of <code>TranscodeInputStream</code> can be chained together, for instance to convert
* from OGG to WAV to MP3.
*
* @author Sindre Mehus
From source file srebrinb.compress.ora.SevenZipStmtInStream.java
/** * * @author sbalabanov */ public class SevenZipStmtInStream extends InputStream {
From source file com.foglyn.fogbugz.CancellableInputStream.java
/** * This input stream support cancellation (via IProgressMonitor) for each * operation, even if it takes longer and would block under normal * circumstances. */ class CancellableInputStream extends InputStream {
From source file org.jets3t.service.io.InterruptableInputStream.java
/**
* Input stream wrapper that allows the underlying wrapped input stream to be interrupted.
* Every time a blocking stream operation is invoked on this class, the interrupt flag is
* checked first. If this flag is set, the underlying stream is closed and an IOException
* "Input Stream Interrupted" is thrown.
* <p>
From source file com.amazonaws.client.util.sdk.SdkInputStream.java
/** * Base class for AWS Java SDK specific {@link InputStream}. */ public abstract class SdkInputStream extends InputStream implements MetricAware, Releasable { /** * Returns the underlying input stream, if any, from the subclass; or null
From source file com.marklogic.mapreduce.ZipEntryInputStream.java
/**
* ZipEntryInputStream is a wrapper class of ZipInputStream to interface with
* XCC so that the zip entries can be read sequentially.
*
* @author jchen
*/
From source file net.sourceforge.subsonic.io.TranscodeInputStream.java
/**
* Subclass of {@link InputStream} which provides on-the-fly transcoding.
* Instances of <code>TranscodeInputStream</code> can be chained together, for instance to convert
* from OGG to WAV to MP3.
*
* @author Sindre Mehus
From source file com.zimbra.client.GetMethodInputStream.java
/** * Wraps a HTTPClient <tt>GetMethod</tt> and automatically releases resources * when the stream is closed. */ public class GetMethodInputStream extends InputStream {
From source file com.allogy.mime.MimeGeneratingInputStream.java
public class MimeGeneratingInputStream extends InputStream { private final InputStream innerInputStream; public MimeGeneratingInputStream(Iterable<Header> headers, InputStream bodyInputStream) { Iterable<InputStream> inputStreamHeaders = Iterables.transform(headers, new Function<Header, InputStream>() {