com.octo.android.robospice.request
Class ProgressByteProcessor

java.lang.Object
  extended by com.octo.android.robospice.request.ProgressByteProcessor

public class ProgressByteProcessor
extends Object

Inspired from Guava com.google.common.io.ByteProcessor


Constructor Summary
ProgressByteProcessor(SpiceRequest<?> spiceRequest, OutputStream bos, long total)
           
 
Method Summary
 boolean processBytes(byte[] buffer, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressByteProcessor

public ProgressByteProcessor(SpiceRequest<?> spiceRequest,
                             OutputStream bos,
                             long total)
Method Detail

processBytes

public boolean processBytes(byte[] buffer,
                            int offset,
                            int length)
                     throws IOException
Throws:
IOException


Copyright © 2012-2014. All Rights Reserved.