Package org.apache.maven.cling.props
Class MavenPropertiesLoader
java.lang.Object
org.apache.maven.cling.props.MavenPropertiesLoader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
loadIncludes
(Path configProp, MavenProperties configProps, Function<String, String> callback) static void
loadProperties
(Properties properties, Path path, Function<String, String> callback, boolean escape) private static MavenProperties
loadPropertiesFile
(Path path, boolean failIfNotFound, Function<String, String> callback) private static String
static void
substitute
(MavenProperties props, Function<String, String> callback) static String
private static void
trimValues
(MavenProperties configProps)
-
Field Details
-
INCLUDES_PROPERTY
- See Also:
-
OVERRIDE_PREFIX
- See Also:
-
-
Constructor Details
-
MavenPropertiesLoader
public MavenPropertiesLoader()
-
-
Method Details
-
loadProperties
public static void loadProperties(Properties properties, Path path, Function<String, String> callback, boolean escape) throws IOException- Throws:
IOException
-
substitute
-
loadPropertiesFile
private static MavenProperties loadPropertiesFile(Path path, boolean failIfNotFound, Function<String, String> callback) throws IOException- Throws:
IOException
-
loadIncludes
private static void loadIncludes(Path configProp, MavenProperties configProps, Function<String, String> callback) throws IOException- Throws:
IOException
-
trimValues
-
nextLocation
-
substVars
-