Package com.dropbox.core.util
Class ProgressOutputStream
java.lang.Object
java.io.OutputStream
com.dropbox.core.util.ProgressOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionProgressOutputStream(OutputStream underlying) ProgressOutputStream(OutputStream underlying, IOUtil.ProgressListener listener) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()voidsetListener(IOUtil.ProgressListener listener) voidwrite(byte[] data) voidwrite(byte[] data, int off, int len) voidwrite(int c) Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
ProgressOutputStream
-
ProgressOutputStream
-
-
Method Details
-
setListener
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-