Example usage for org.apache.commons.io.output ThresholdingOutputStream subclass-usage

List of usage examples for org.apache.commons.io.output ThresholdingOutputStream subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.io.output ThresholdingOutputStream subclass-usage.

Usage

From source file net.larry1123.elec.util.io.ProxyOutputSteam.java

/**
 * @author Larry1123
 * @since 11/12/2014 - 4:01 PM
 */
public class ProxyOutputSteam extends ThresholdingOutputStream {

From source file org.paxle.crawler.impl.ContentLengthLimitOutputStream.java

public class ContentLengthLimitOutputStream extends ThresholdingOutputStream {
    private final OutputStream out;

    public ContentLengthLimitOutputStream(int limit, OutputStream out) {
        super(limit);
        this.out = out;

From source file com.aspectran.web.support.multipart.inmemory.MemoryOutputStream.java

/**
 * An output stream which will retain data in memory (always).
 */
public class MemoryOutputStream extends ThresholdingOutputStream {

    /**

From source file uk.ac.gate.cloud.client.GZIPThresholdOutputStream.java

/**
 * Output stream that decides whether or not to GZIP compress the data
 * based on the total amount written. If the stream is closed before the
 * threshold is reached, then the data is sent as-is, otherwise the
 * "Content-Encoding" header is set on the connection and the data is
 * sent with GZIP compression.

From source file org.jasig.portal.portlet.container.cache.LimitedBufferOutputStream.java

/**
 * Subclass of {@link ThresholdingOutputStream} that uses an internal {@link ByteArrayOutputStream} of the same
 * capacity for capturing content.
 * 
 * @author Nicholas Blair
 * @version $Id$

From source file org.gmr.web.multipart.GOutputStream.java

/**
 * <p> Important Note: This src is modified version of {@link org.apache.commons.io.output.DeferredFileOutputStream}
 * to make it work in GAE and spring.
 *
 *<p> An output stream which will retain data in memory (always) as GAE doesn't suport file handling.
 * If the stream reaches the threshold , the UnsupportedOperationException will be thrown.

From source file cn.clxy.studio.common.web.multipart.GOutputStream.java

/**
 * <p> Important Note: This src is modified version of {@link org.apache.commons.io.output.DeferredFileOutputStream}
 * to make it work in GAE and spring.
 *
 *<p> An output stream which will retain data in memory (always) as GAE doesn't suport file handling.
 * If the stream reaches the threshold , the UnsupportedOperationException will be thrown.

From source file ex.fileupload.spring.GOutputStream.java

/**
 * <p>
 * Important Note: This src is modified version of
 * {@link org.apache.commons.io.output.DeferredFileOutputStream} to make it work
 * in GAE and spring.
 * 

From source file org.codehaus.plexus.archiver.zip.OffloadingOutputStream.java

/**
 * Offloads to disk when a given memory consumption has been reacehd
*/
class OffloadingOutputStream extends ThresholdingOutputStream {

    // ----------------------------------------------------------- Data members

From source file org.tinygroup.weblayer.webcontext.parser.fileupload.DeferredByteOutputStream.java

/**
 * 
 * :?
 * <p>
    
 * ?: renhui <br>