|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.command.impl.listing.ListArgument
public class ListArgument
Internal class, do not use directly. Contains the parsed argument for a list command (e.g. LIST or NLST)
Constructor Summary | |
---|---|
ListArgument(String file,
String pattern,
char[] options)
|
Method Summary | |
---|---|
String |
getFile()
The file path including the directory |
char[] |
getOptions()
The listing options, |
String |
getPattern()
The regular expression pattern that files must match |
boolean |
hasOption(char option)
Checks if a certain option is set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListArgument(String file, String pattern, char[] options)
file
- The file path including the directorypattern
- A regular expression pattern that files must matchoptions
- List options, such as -laMethod Detail |
---|
public char[] getOptions()
public String getPattern()
public boolean hasOption(char option)
option
- The option to check
public String getFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |