Java Globus API: Class FeatureList

org.globus.ftp
Class FeatureList

java.lang.Object
  |
  +--org.globus.ftp.FeatureList

public class FeatureList
extends Object

Represents features supported by server (as returned by FEAT command). Use the static members of this class to refer to well known feature names. Example: check if the server supports PARALLEL feature:

FeatureList fl = new FeatureList(client.getFeatureList());
if (fl.contains(FeatureList.PARALLEL)) {
...
}


Field Summary
static String ABUF
           
static String DCAU
           
static String ERET
           
static String ESTO
           
protected  Vector featVector
           
static String MDTM
           
static String PARALLEL
           
static String PIPE
           
static String SBUF
           
static String SIZE
           
 
Constructor Summary
FeatureList(String featReplyMsg)
           
 
Method Summary
 boolean contains(String feature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final String SIZE

MDTM

public static final String MDTM

PARALLEL

public static final String PARALLEL

ESTO

public static final String ESTO

ERET

public static final String ERET

SBUF

public static final String SBUF

ABUF

public static final String ABUF

DCAU

public static final String DCAU

PIPE

public static final String PIPE

featVector

protected Vector featVector
Constructor Detail

FeatureList

public FeatureList(String featReplyMsg)
Method Detail

contains

public boolean contains(String feature)