Class GSOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.pipecraft.infra.storage.google_cs.GSOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class GSOutputStream extends FilterOutputStream
A simpleOutputStreamwrapper, that convertsStorageExceptions to IOExceptions, as expected.- Author:
- Eyal Schneider
-
-
Field Summary
-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(int b)-
Methods inherited from class java.io.FilterOutputStream
write, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Method Detail
-
write
public void write(int b) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
-