Module com.github.rvesse.airline
Class WorkingDirectoryLocator
- java.lang.Object
-
- com.github.rvesse.airline.parser.resources.FileLocator
-
- com.github.rvesse.airline.parser.resources.WorkingDirectoryLocator
-
- All Implemented Interfaces:
ResourceLocator
public class WorkingDirectoryLocator extends FileLocator
A user alias locator that allows the./
or.\
alias (depending on your platforms file separator) to be used to refer to the current working directory
-
-
Field Summary
-
Fields inherited from class com.github.rvesse.airline.parser.resources.FileLocator
FILE_URI_PREFIX
-
-
Constructor Summary
Constructors Constructor Description WorkingDirectoryLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
resolve(java.lang.String searchLocation)
Resolves the search location-
Methods inherited from class com.github.rvesse.airline.parser.resources.FileLocator
open
-
-
-
-
Method Detail
-
resolve
protected java.lang.String resolve(java.lang.String searchLocation)
Description copied from class:FileLocator
Resolves the search location- Overrides:
resolve
in classFileLocator
- Parameters:
searchLocation
- Search location- Returns:
- Resolved location
-
-