"\\\\"
or "C:\\"
, this completion context splits the paths into tokens, which is then used for completion suggestions. Example: A PathCompletionContext
created like so:
String[] paths = { "C:\\Program Files\\Java", "C:\\temp\\data", }; CompletionContext context = new PathCompletionContext(paths, "\\", "C:\\");will create the following tokens available for auto completion:
"C:\\Program Files\\" "C:\\Program Files\\Java\\" "C:\\temp\\" "C:\\temp\\data"@author Torgil Zethson @since 1.2
|
|