
org.globus.ftp.MlsxEntryWriter Maven / Gradle / Ivy
The newest version!
package org.globus.ftp;
import java.io.IOException;
/**
* The MlsxEntryWriter provides a callback interface for writing
* individual MlsxEntry items from a long directory listing (for
* example, using the MLSR command).
*
*/
public interface MlsxEntryWriter {
/**
* Writes a single entry from the stream.
*
* @param entry the file/directory entry
*/
public void write(MlsxEntry entry) throws IOException;
/**
* Notifies the writer that the stream of entries has ended.
*
*/
public void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy