Completer
public static class Completers.DirectoriesCompleter extends Completers.FileNameCompleter
Constructor | Description |
---|---|
DirectoriesCompleter(File currentDir) |
|
DirectoriesCompleter(File currentDir,
boolean forceSlash) |
|
DirectoriesCompleter(Path currentDir) |
|
DirectoriesCompleter(Path currentDir,
boolean forceSlash) |
|
DirectoriesCompleter(Supplier<Path> currentDir) |
|
DirectoriesCompleter(Supplier<Path> currentDir,
boolean forceSlash) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
accept(Path path) |
|
protected String |
getSeparator(boolean useForwardSlash) |
|
protected Path |
getUserDir() |
complete, getDisplay, getUserHome
public DirectoriesCompleter(File currentDir)
public DirectoriesCompleter(File currentDir, boolean forceSlash)
public DirectoriesCompleter(Path currentDir)
public DirectoriesCompleter(Path currentDir, boolean forceSlash)
protected Path getUserDir()
getUserDir
in class Completers.FileNameCompleter
protected String getSeparator(boolean useForwardSlash)
getSeparator
in class Completers.FileNameCompleter
protected boolean accept(Path path)
accept
in class Completers.FileNameCompleter
Copyright © 2020. All rights reserved.