FeatureList (Java Globus API)

org.globus.ftp
Class FeatureList

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

public class FeatureList
extends java.lang.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 java.lang.String ABUF
           
static java.lang.String DCAU
           
static java.lang.String ERET
           
static java.lang.String ESTO
           
protected  java.util.Vector featVector
           
static java.lang.String MDTM
           
static java.lang.String PARALLEL
           
static java.lang.String PIPE
           
static java.lang.String SBUF
           
static java.lang.String SIZE
           
 
Constructor Summary
FeatureList(java.lang.String featReplyMsg)
           
 
Method Summary
 boolean contains(java.lang.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 java.lang.String SIZE
See Also:
Constant Field Values

MDTM

public static final java.lang.String MDTM
See Also:
Constant Field Values

PARALLEL

public static final java.lang.String PARALLEL
See Also:
Constant Field Values

ESTO

public static final java.lang.String ESTO
See Also:
Constant Field Values

ERET

public static final java.lang.String ERET
See Also:
Constant Field Values

SBUF

public static final java.lang.String SBUF
See Also:
Constant Field Values

ABUF

public static final java.lang.String ABUF
See Also:
Constant Field Values

DCAU

public static final java.lang.String DCAU
See Also:
Constant Field Values

PIPE

public static final java.lang.String PIPE
See Also:
Constant Field Values

featVector

protected java.util.Vector featVector
Constructor Detail

FeatureList

public FeatureList(java.lang.String featReplyMsg)
Method Detail

contains

public boolean contains(java.lang.String feature)