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 String
lastStatus
-
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:
write
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-