javazoom.upload.parsing
Class CfuOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.fileupload.ThresholdingOutputStream
org.apache.commons.fileupload.DeferredFileOutputStream
javazoom.upload.parsing.CfuOutputStream
- public class CfuOutputStream
- extends org.apache.commons.fileupload.DeferredFileOutputStream
This class extends CFU features and add listeners notification for UploadBean.
Constructor Summary |
CfuOutputStream(int threshold,
java.io.File outputFile,
java.util.Vector listeners,
boolean isformfield)
Constructor. |
Method Summary |
void |
write(byte[] b,
int off,
int len)
Overridden method to get notified. |
Methods inherited from class org.apache.commons.fileupload.DeferredFileOutputStream |
getData, getFile, getStream, isInMemory, thresholdReached |
Methods inherited from class org.apache.commons.fileupload.ThresholdingOutputStream |
checkThreshold, close, flush, getByteCount, getThreshold, isThresholdExceeded, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CfuOutputStream
public CfuOutputStream(int threshold,
java.io.File outputFile,
java.util.Vector listeners,
boolean isformfield)
- Constructor.
- Parameters:
threshold
- outputFile
- listeners
- isformfield
-
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Overridden method to get notified.
- Parameters:
b
- off
- len
-
- Throws:
java.io.IOException