ome.formats.importer.util
Class FileUploadCounter.OutputStreamCounter
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
ome.formats.importer.util.FileUploadCounter.OutputStreamCounter
- All Implemented Interfaces:
- Closeable, Flushable
- Enclosing class:
- FileUploadCounter
public static class FileUploadCounter.OutputStreamCounter
- extends FilterOutputStream
- Author:
- "Brian W. Loranger"
Method Summary |
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUploadCounter.OutputStreamCounter
public FileUploadCounter.OutputStreamCounter(OutputStream out,
FileUploadCounter.ProgressListener listener)
- counter in bytes
- Parameters:
out
- - output streamlistener
- - progress listener
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
OmeroJava Api
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.