List of usage examples for java.io InputStream subclass-usage
From source file org.objectweb.proactive.extensions.vfsprovider.client.AbstractProActiveInputStreamAdapter.java
/** * Generic adapter of remotely accessed {@link FileSystemServer} to {@link InputStream} class. */ abstract class AbstractProActiveInputStreamAdapter extends InputStream { private static final Log log = LogFactory.getLog(AbstractProActiveInputStreamAdapter.class);
From source file UDPInputStream.java
public class UDPInputStream extends InputStream { private static final int PACKET_BUFFER_SIZE = 5000; DatagramSocket dsock = null; DatagramPacket dpack = null;
From source file com.norconex.commons.lang.io.CachedInputStream.java
/**
* {@link InputStream} wrapper that can be re-read any number of times. This
* class will cache the wrapped input steam content the first time it is read,
* and subsequent read will use the cache.
* <br><br>
* To create new instances of {@link CachedInputStream}, use the
From source file org.cloudata.core.client.blob.NBlobInputStream.java
/** * @author jindolk * */ public class NBlobInputStream extends InputStream { private static final Log LOG = LogFactory.getLog(NBlobInputStream.class.getName());
From source file org.apache.tajo.storage.v2.ScheduledInputStream.java
public class ScheduledInputStream extends InputStream implements Seekable, Closeable, DataInput { private static final Log LOG = LogFactory.getLog(ScheduledInputStream.class); private FSDataInputStream originStream; private int currentScanIndex;
From source file org.vietspider.net.apache.EofSensorInputStream.java
/**
* A stream wrapper that triggers actions on {@link #close close()} and EOF.
* Primarily used to auto-release an underlying
* {@link ManagedClientConnection connection}
* when the response body is consumed or no longer needed.
*
From source file org.n52.wps.server.request.strategy.LazyHttpInputStream.java
/**
* An extension of an Input Stream with HTTP Connection abilities.
* Uses an {@link InputStream} internally. HTTP connection is established
* in a lazy fashion, i.e. on first read attempt.
*
* This class shall prevent timeout issues with I/O streaming in the WPS framework.
From source file mitm.common.util.RewindableInputStream.java
/**
* An InputStream that wraps another InputStream and which buffers all bytes read from the wrapped stream. The
* buffered bytes are stored in memory if the number of bytes read does not exceed the threshold. If the threshold
* is reached, the bytes will be stored in a temporary file.
*
* Note: the internal memory buffer grows exponentially. It's therefore advised to set the threshold to
From source file ReaderInputStream.java
/**
* This class convert Reader to InputStream. It works by converting
* the characters to the encoding specified in constructor parameter.
*
* @author Petr Hamernik, David Strupl
*/
From source file org.apache.ignite.internal.processors.hadoop.igfs.HadoopIgfsInputStream.java
/** * IGFS input stream wrapper for hadoop interfaces. */ @SuppressWarnings("FieldAccessedSynchronizedAndUnsynchronized") public final class HadoopIgfsInputStream extends InputStream implements Seekable, PositionedReadable, HadoopIgfsStreamEventListener {