Example usage for java.io OutputStream subclass-usage

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

Introduction

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

Usage

From source file com.sslexplorer.vfs.VFSOutputStream.java

/**
 * <p>A specialized {@link OutputStream} to write to {@link VFSResource}s.</p>
 * 
 * <p>When writing to this {@link OutputStream} the data will be written to
 * a temporary file. This temporary file will be moved to its final destination
 * (the original file identifying the resource) when the {@link #close()}

From source file org.apache.hadoop.fs.nfs.stream.NFSBufferedOutputStream.java

public class NFSBufferedOutputStream extends OutputStream {

    final FileHandle handle;
    final Credentials credentials;
    final Path path;
    final String pathString;

From source file me.tatetian.hs.io.SamplableByteArrayOutputStream.java

/**
 * This class is modified from <code>org.apache.commons.io.output.ByteArrayOutputStream</code>.
 * It the same as <code>org.apache.commons.io.output.ByteArrayOutputStream</code> except its
 * ability to update itself with sampled records.  
 * 
 * @author Hongliang Tian

From source file org.exist.util.io.FastByteArrayOutputStream.java

/**
 * NOTE this is a modified version of Apache
 * Commons IO 2.6 {@link org.apache.commons.io.output.ByteArrayOutputStream}
 * which removes the synchronization overhead for non-concurrent
 * access; as such this class is not thread-safe.
 * It also adds the method {@link FastByteArrayOutputStream#toFastByteInputStream()}.

From source file org.objectweb.proactive.extensions.vfsprovider.client.AbstractProActiveOutputStreamAdapter.java

/**
 * Generic adapter of remotely accessed {@link FileSystemServer} to {@link OutputStream} class.
 */
abstract class AbstractProActiveOutputStreamAdapter extends OutputStream {
    private static final Log log = LogFactory.getLog(AbstractProActiveOutputStreamAdapter.class);

From source file mitm.common.util.ReadableOutputStreamBuffer.java

/**
 * An OutputStream implementation that allows the data written to the read back. The bytes are written in memory
 * until a threshold is reached. After the threshold is reached the bytes are written to disk.
 *
 * @author Martijn Brinkers
 *

From source file mitm.common.util.ClearableDeferredOutputStream.java

/**
 * An output stream which will retain data in memory until a specified threshold is reached, and only then commit it 
 * to disk. If the stream is closed before the threshold is reached, the data will not be written to disk at all.
 * The written stream can be cleared by calling clear. This will result in a new file if the threshold is reached. 
 * 
 * @author Martijn Brinkers

From source file nextflow.fs.dx.DxUploadOutputStream.java

/**
 * Gather the stream data to a byte buffer, when the buffer is full upload it
 * in background and allocate a new byte buffer to let the writer to
 *
 * @author Paolo Di Tommaso <paolo.ditommaso@gmail.com>
 */

From source file com.reactivetechnologies.platform.stream.DistributedPipedOutputStream.java

/**
 * A single threaded piped output stream. Will be distributed in nature.
 * The 'connect' to the input stream is via a Hazelcast topic.
 * 
 */
public class DistributedPipedOutputStream extends OutputStream implements MessageChannel<byte[]>, Buffered {

From source file org.exist.util.VirtualTempFile.java

/**
 * 
 * This class is a cross-over of many others, but mainly File and OutputStream
 * 
 * @author jmfernandez
 *