public class FeatureList extends Object
FeatureList fl = new FeatureList(client.getFeatureList()); if (fl.contains(FeatureList.PARALLEL)) { ... }
Modifier and Type | Class and Description |
---|---|
static class |
FeatureList.Feature
RFC 2389 specified the following syntax for FEAT responce
|
Modifier and Type | Field and Description |
---|---|
static String |
ABUF |
static String |
CKSUM |
static String |
DCAU |
static String |
ERET |
static String |
ESTO |
protected List<FeatureList.Feature> |
features |
static String |
GETPUT |
static String |
MDTM |
static String |
MODEX |
static String |
PARALLEL |
static String |
PIPE |
static String |
SBUF |
static String |
SIZE |
Constructor and Description |
---|
FeatureList(String featReplyMsg) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String label) |
List<FeatureList.Feature> |
getFeature(String label)
Get all features that have label equal to the argument
Note that RFC 2389 does not require a feature with a
given label to appear only once
|
public static final String SIZE
public static final String MDTM
public static final String PARALLEL
public static final String ESTO
public static final String ERET
public static final String SBUF
public static final String ABUF
public static final String DCAU
public static final String PIPE
public static final String MODEX
public static final String GETPUT
public static final String CKSUM
protected final List<FeatureList.Feature> features
public FeatureList(String featReplyMsg)
public boolean contains(String label)
public List<FeatureList.Feature> getFeature(String label)
label
- Copyright © 2016. All rights reserved.