Android SDK Version
All Implemented Interfaces:
com.facebook.RequestOutputStream , java.io.Closeable , java.io.Flushable , java.lang.AutoCloseable


public final class ProgressNoopOutputStream
extends OutputStream implements RequestOutputStream
                    
Field Summary
Modifier and TypeFieldDescription
private IntegermaxProgress
Constructor Summary
ConstructorDescription
ProgressNoopOutputStream(Handler callbackHandler)
Method Summary
Modifier and TypeMethodDescription
final IntegergetMaxProgress()
final UnitsetMaxProgress(Integer maxProgress)
UnitsetCurrentRequest(GraphRequest currentRequest)
final Map<GraphRequest, RequestProgress>getProgressMap()
final UnitaddProgress(Long size) Add size to currentRequestProgress's process size
Unitwrite(ByteArray buffer)
Unitwrite(ByteArray buffer, Integer offset, Integer length)
Unitwrite(Integer oneByte)
Methods inherited from class com.facebook.ProgressNoopOutputStream
close, flush
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

ProgressNoopOutputStream

ProgressNoopOutputStream(Handler callbackHandler)
Method Detail

getMaxProgress

 final IntegergetMaxProgress()

setMaxProgress

 final UnitsetMaxProgress(Integer maxProgress)

setCurrentRequest

UnitsetCurrentRequest(GraphRequest currentRequest)

addProgress

 final UnitaddProgress(Long size)
Add size to currentRequestProgress's process size

write

Unitwrite(ByteArray buffer)

write

Unitwrite(ByteArray buffer, Integer offset, Integer length)

write

Unitwrite(Integer oneByte)