public class BaseUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Path |
getCarbonConfigHome()
This method will return the carbon configuration directory path.
|
static Path |
getCarbonHome()
Returns the Carbon Home directory path.
|
static Properties |
readProperties(File file)
A util method to read a given java properties file and return the populated properties objects.
|
public static Properties readProperties(File file)
file - the property file to read.public static Path getCarbonConfigHome()
carbon.home system property is not found, gets the
CARBON_HOME_ENV system property value and sets to the carbon home.public static Path getCarbonHome()
carbon.home system property is not found, gets the
CARBON_HOME_ENV system property value and sets to the carbon home.Copyright © 2016 WSO2. All rights reserved.