Class OutputStreamDataSource.DataOutputStream
java.lang.Object
java.io.OutputStream
org.globus.ftp.OutputStreamDataSource.DataOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
- Enclosing class:
OutputStreamDataSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
nullOutputStream
-
Field Details
-
buff
protected byte[] buff -
index
protected int index -
closed
private boolean closed
-
-
Constructor Details
-
DataOutputStream
public DataOutputStream(int size)
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
setClosed
protected void setClosed() -
isClosed
private boolean isClosed()
-