public class PropertiesUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Properties |
filteredSystemProperties(Properties existing,
boolean withMaven)
Copies any jboss.*, swarm.*, or wildfly.* (and optionally maven.*) sysprops from System,
along with anything that shadows a specified property.
|
static Properties |
loadProperties(File file) |
static Properties |
loadProperties(InputStream in) |
static Properties |
loadProperties(String file) |
static String |
versionFromPomProperties() |
public static Properties loadProperties(InputStream in) throws IOException
IOExceptionpublic static Properties loadProperties(String file) throws IOException
IOExceptionpublic static Properties loadProperties(File file) throws IOException
IOExceptionpublic static String versionFromPomProperties()
public static Properties filteredSystemProperties(Properties existing, boolean withMaven)
Copyright © 2017 JBoss by Red Hat. All rights reserved.