Package org.globus.ftp
Class GridFTPClient.MlsxParserDataSink
- java.lang.Object
-
- org.globus.ftp.GridFTPClient.MlsxParserDataSink
-
- All Implemented Interfaces:
DataSink
- Enclosing class:
- GridFTPClient
private class GridFTPClient.MlsxParserDataSink extends java.lang.Object implements DataSink
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
buf
private int
pos
private MlsxEntryWriter
writer
-
Constructor Summary
Constructors Constructor Description MlsxParserDataSink(MlsxEntryWriter w)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes this data sink and releases any system resources associated with this sink.void
write(Buffer buffer)
Writes the specified buffer to this data sink.
-
-
-
Field Detail
-
writer
private MlsxEntryWriter writer
-
buf
private byte[] buf
-
pos
private int pos
-
-
Constructor Detail
-
MlsxParserDataSink
public MlsxParserDataSink(MlsxEntryWriter w)
-
-
Method Detail
-
write
public void write(Buffer buffer) throws java.io.IOException
Description copied from interface:DataSink
Writes the specified buffer to this data sink.
Note:buffer.getOffset()
might return -1 if the transfer mode used does not support data offsets, for example stream transfer mode.
-
-