Example usage for java.io ByteArrayOutputStream subclass-usage

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

Introduction

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

Usage

From source file org.rhq.core.util.exec.ProcessExecutionOutputStream.java

/**
 * in-memory output stream with a limited buffer size. Once limit is reached it starts to ignore
 * {@link #write(int)} and {@link #write(byte[], int, int)} calls. Default limit is 2MB - this default can be
 * set using  rhq.process-execution.captured-output.limit system property (in Bytes) or via {@link #ProcessExecutionOutputStream(int, boolean)}.
 * Optionally written output can be forwarded to logging subsystem.
 * @author lzoubek@redhat.com

From source file be.fedict.eid.dss.document.zip.ZIPSignatureOutputStream.java

public class ZIPSignatureOutputStream extends ByteArrayOutputStream {

    private static final Log LOG = LogFactory.getLog(ZIPSignatureOutputStream.class);

    private final File originalZipFile;

From source file org.apache.xml.security.utils.SignerOutputStream.java

/**
 * @author raul
 * 
 */
public class SignerOutputStream extends ByteArrayOutputStream {
    private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory

From source file JarEntryOutputStream.java

/**
 * An output stream that is used by EnhancedJarFile to write entries to a jar.
 * This implementation uses a ByteArrayOutputStream to buffer the output
 * until the stream is closed.  When the stream is closed, the output is written
 * to the jar.
 *

From source file JarEntryOutputStream.java

/**
 * An output stream that is used by EnhancedJarFile to write entries to a jar.
 * This implementation uses a ByteArrayOutputStream to buffer the output
 * until the stream is closed.  When the stream is closed, the output is written
 * to the jar.
 *

From source file org.pentaho.platform.repository2.unified.fileio.RepositoryFileOutputStream.java

public class RepositoryFileOutputStream extends ByteArrayOutputStream implements ISourcesStreamEvents {

    protected boolean hidden = false;
    protected String path = null;
    protected IUnifiedRepository repository;
    protected String charsetName = null;

From source file com.sos.VirtualFileSystem.WebDAV.SOSVfsWebDAVOutputStream.java

public class SOSVfsWebDAVOutputStream extends ByteArrayOutputStream {

    @SuppressWarnings("unused")
    private final String conClassName = "SOSVfsWebDAV";

    @SuppressWarnings("unused")

From source file org.apache.jcs.auxiliary.lateral.socket.udp.LateralUDPSender.java

/**
 * Description of the Class
 *
 * @author asmuts
 * @created January 15, 2002
 */

From source file org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoverySender.java

/**
 * This allows us to get the byte array from an output stream.
 *
 * @author asmuts
 * @created January 15, 2002
 */

From source file org.spoutcraft.launcher.Main.java

class LoggerOutputStream extends ByteArrayOutputStream {
    private final String separator = System.getProperty("line.separator");
    private final Level level;
    private final Logger log;

    public LoggerOutputStream(Level level, Logger log) {