All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.globus.ftp.MlsxEntryWriter Maven / Gradle / Ivy

Go to download

GridFTP is a high-performance, secure, reliable data transfer protocol optimized for high-bandwidth wide-area networks. The GridFTP protocol is based on FTP, the highly-popular Internet file transfer protocol. We have selected a set of protocol features and extensions defined already in IETF RFCs and added a few additional features to meet requirements from current data grid projects. This GRIDFTP libary and client is based on JAVA.

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.  
	 * 
	 * @return true to continue, false to stop writer
	 * @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