org.globus.ftp
Class FeatureList.Feature

java.lang.Object
  extended by org.globus.ftp.FeatureList.Feature
Enclosing class:
FeatureList

public static final class FeatureList.Feature
extends java.lang.Object

RFC 2389 specified the following syntax for FEAT responce

 feat-response   = error-response / no-features / feature-listing
  no-features     = "211" SP *TCHAR CRLF
  feature-listing = "211-" *TCHAR CRLF
                    1*( SP feature CRLF )
                    "211 End" CRLF
  feature         = feature-label [ SP feature-parms ]
  feature-label   = 1*VCHAR
  feature-parms   = 1*TCHAR
 
Feature class represence each individual feature and contain two fields required label and optional parms


Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLabel()
           
 java.lang.String getParms()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLabel

public java.lang.String getLabel()
Returns:
the name

getParms

public java.lang.String getParms()
Returns:
the qualifiers, null if no qualifiers

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object