Class MyOutputStream
java.lang.Object
java.io.OutputStream
de.ipk_gatersleben.ag_nw.graffiti.services.MyOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class MyOutputStream extends OutputStream
-
Field Summary
Fields Modifier and Type Field Description StringlastStatus -
Constructor Summary
Constructors Constructor Description MyOutputStream(ObjectRef lastStatusRef, BackgroundTaskStatusProviderSupportingExternalCallImpl status, FileOutputStream fileOutputStream) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
lastStatus
-
-
Constructor Details
-
MyOutputStream
public MyOutputStream(ObjectRef lastStatusRef, BackgroundTaskStatusProviderSupportingExternalCallImpl status, FileOutputStream fileOutputStream)
-
-
Method Details
-
setMaxBytes
public void setMaxBytes(long max) -
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-