Package org.apache.camel.util
Class FilePathResolver
java.lang.Object
org.apache.camel.util.FilePathResolver
A resolver for file paths that supports resolving with system and environment properties.
-
Method Summary
-
Method Details
-
resolvePath
Resolves the path. The pattern is:- ${env:key} or ${env.key} for environment variables.
- ${key} for JVM system properties.
- Parameters:
path
- the path- Returns:
- the resolved path
- Throws:
IllegalArgumentException
- is thrown if system property / environment not found
-