Package edu.isi.pegasus.gridftp
Class ListCommand
- java.lang.Object
-
- edu.isi.pegasus.gridftp.Command
-
- edu.isi.pegasus.gridftp.ListCommand
-
public class ListCommand extends Command
Implements the ls command for remote GridFTP servers- Author:
- Gideon Juve
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
dotfiles
private org.apache.commons.logging.Log
logger
private boolean
longFormat
-
Fields inherited from class edu.isi.pegasus.gridftp.Command
connectionCache, credential
-
-
Constructor Summary
Constructors Constructor Description ListCommand(boolean longFormat, boolean dotfiles)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListCommand
fromArguments(java.util.List<java.lang.String> args)
protected void
run(GridFTPURL url)
-
-
-
Method Detail
-
run
protected void run(GridFTPURL url) throws java.net.ConnectException, GridFTPException
- Specified by:
run
in classCommand
- Parameters:
url
- The URL to operate on- Throws:
java.net.ConnectException
GridFTPException
-
fromArguments
public static ListCommand fromArguments(java.util.List<java.lang.String> args) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
-