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