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 CountingOutputStream.java

/**
 * 
 * <DIV lang="en"></DIV>
 * <DIV lang="ja"></DIV>
 * 
 * @author Makoto YUI (yuin405 AT gmail.com)

From source file org.apache.tapestry5.internal.util.MacOutputStream.java

/**
 * An output stream that wraps around a {@link Mac} (message authentication code algorithm).  This is currently
 * used for symmetric (private) keys, but in theory could be used with assymetric (public/private) keys.
 *
 * @since 5.3.6
 */

From source file CachingOutputStream.java

public class CachingOutputStream extends OutputStream {
    private final OutputStream os;
    private final ByteArrayOutputStream baos = new ByteArrayOutputStream();

    public CachingOutputStream(OutputStream os) {
        this.os = os;

From source file org.echocat.jomon.resources.ResourceGenerator.java

@NotThreadSafe
public abstract class ResourceGenerator extends OutputStream {

    private final Resource _originalResource;
    private final ResourceType _type;
    private final String _name;

From source file com.izforge.izpack.core.io.ByteCountingOutputStream.java

/**
 * Stream which counts the bytes written through it. Be sure to flush before checking size.
 */
public class ByteCountingOutputStream extends OutputStream {
    private CountingOutputStream os;

From source file org.jasig.portal.utils.SwitchableForwardingOutputStream.java

/**
 * Delegates to another {@link OutputStream} which can be modified
 * at any time by calling {@link #setOutputStream(OutputStream)}
 * 
 * @author Eric Dalquist
 */

From source file ByteArrayOStream.java

/**
 * An unsynchronized version of java.io.ByteArrayOutputStream that can expose
 * the underlying byte array without a defensive clone and can also be converted
 * to a {@link ByteArrayIStream} without intermediate array copies.<p> 
 * 
 * All argument validation is disabled in release mode.<p>

From source file org.nuxeo.ecm.core.io.marshallers.json.OutputStreamWithJsonWriter.java

/**
 * This {@link OutputStream} is a technical wrapper for {@link JsonGenerator}. It's used to broadcast a
 * {@link JsonGenerator} between marshallers.
 * <p>
 * take a look at {@link AbstractJsonWriter#getGenerator(OutputStream, boolean)} to understand the mechanism.
 * </p>

From source file voldemort.common.nio.ByteBufferBackedOutputStream.java

/**
 * ByteBufferBackedOutputStream serves two purposes:
 * <ol>
 * <li>It allows a ByteBuffer to be the source of data for OutputStream-based
 * callers
 * <li>It expands the underlying buffer to accommodate incoming data

From source file com.mellanox.r4h.JXOutputStream.java

/**
 * @todo
 *       Implement close(). Is used in DFSClient.
 * @todo
 *       Return messages to pool.
 */