org.kuali.maven.common
Class PropertiesUtils
java.lang.Object
org.kuali.maven.common.PropertiesUtils
public class PropertiesUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesUtils
public PropertiesUtils()
splitAndTrim
public static String[] splitAndTrim(String csv,
String separator)
- Split the string trimming as we go
getResolvedValue
public String getResolvedValue(String value,
Properties properties)
getProperties
public Properties getProperties(List<String> locations)
throws IOException
- Throws:
IOException
getMavenProperties
public Properties getMavenProperties(org.apache.maven.project.MavenProject project)
- Return properties as viewed by Maven. ie, project properties get overridden by system properties and environment
properties are prefixed with "env"
getEnvironmentProperties
public Properties getEnvironmentProperties()
getProperties
public Properties getProperties(String location)
throws IOException
- Throws:
IOException
isXml
public boolean isXml(String location)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.