|
||||||||||
| 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(java.lang.String file,
java.lang.String pattern,
char[] options)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFile()
The file path including the directory |
char[] |
getOptions()
The listing options, |
java.lang.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(java.lang.String file,
java.lang.String pattern,
char[] options)
file - The file path including the directorypattern - A regular expression pattern that files must matchoptions - List options, such as -la| Method Detail |
|---|
public char[] getOptions()
public java.lang.String getPattern()
public boolean hasOption(char option)
option - The option to check
public java.lang.String getFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||