public class PropertiesUtil
extends java.lang.Object
Constructor and Description |
---|
PropertiesUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.Properties |
loadDefaultProperties()
Loads default properties.
|
static void |
loadDefaultProperties(java.util.Properties properties)
Loads the default properties from pig-default.properties and
pig.properties.
|
static void |
loadPropertiesFromFile(java.util.Properties properties,
java.lang.String fileName)
Loads the properties from a given file.
|
public static void loadDefaultProperties(java.util.Properties properties)
properties
- Properties object that needs to be loaded with the
properties' values.public static void loadPropertiesFromFile(java.util.Properties properties, java.lang.String fileName)
properties
- Properties object that is to be loaded.fileName
- file name of the file that contains the properties.public static java.util.Properties loadDefaultProperties()
Copyright © 2007-2012 The Apache Software Foundation