Package org.codice.ddf.configuration
Class AbsolutePathResolver
java.lang.Object
org.codice.ddf.configuration.AbsolutePathResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()This method will attempt to convert the already given path into an absolute path: first using the system propertyddf.homeand then usingPath'stoAbsolutePath's methodThis method will attempt to convert the already given path into an absolute path: first by appending the givenrootPath, then by usingPath'stoAbsolutePath's method
-
Constructor Details
-
AbsolutePathResolver
-
-
Method Details
-
getPath
This method will attempt to convert the already given path into an absolute path: first using the system propertyddf.homeand then usingPath'stoAbsolutePath's method- Returns:
- Absolute path as a String
-
getPath
This method will attempt to convert the already given path into an absolute path: first by appending the givenrootPath, then by usingPath'stoAbsolutePath's method- Parameters:
rootPath- String to append to path- Returns:
- Absolute path as a String
-