|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.perforce.p4java.ant.tasks.PerforceProperties
public class PerforceProperties
Helper class for loading a properties file.
Method Summary | |
---|---|
static java.util.Properties |
load(java.lang.String propertiesFileName)
Load a properties file. |
static java.util.Properties |
loadAsFile(java.lang.String propertiesFileName)
Load a properties file from the path. |
static java.util.Properties |
loadAsResource(java.lang.String propertiesFileName)
Load a properties file as resource stream from the classpath. |
static java.util.Properties |
loadAsResourceBundle(java.lang.String propertiesFileName)
Load a properties file as resource bundle from the classpath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Properties loadAsFile(java.lang.String propertiesFileName)
propertiesFileName
- the properties file name
public static java.util.Properties loadAsResourceBundle(java.lang.String propertiesFileName)
propertiesFileName
- the properties file name
public static java.util.Properties loadAsResource(java.lang.String propertiesFileName)
propertiesFileName
- the properties file name
public static java.util.Properties load(java.lang.String propertiesFileName)
propertiesFileName
- the properties file name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |