Package org.globus.ftp
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 java.io.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:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
setClosed
protected void setClosed() -
isClosed
private boolean isClosed()
-