|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ftp.InputStreamDataSink
public class InputStreamDataSink
| Field Summary | |
|---|---|
protected CircularBuffer |
buffers
|
| Constructor Summary | |
|---|---|
InputStreamDataSink()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes this data sink and releases any system resources associated with this sink. |
java.io.InputStream |
getInputStream()
|
void |
write(Buffer buffer)
Writes the specified buffer to this data sink. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CircularBuffer buffers
| Constructor Detail |
|---|
public InputStreamDataSink()
| Method Detail |
|---|
public void write(Buffer buffer)
throws java.io.IOException
DataSinkbuffer.getOffset() might
return -1 if the transfer mode used does not support
data offsets, for example stream transfer mode.
write in interface DataSinkbuffer - the data buffer to write.
java.io.IOException - if an I/O error occurs.
public void close()
throws java.io.IOException
DataSink
close in interface DataSinkjava.io.IOException - if an I/O error occurs.public java.io.InputStream getInputStream()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||