|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rackspacecloud.client.cloudfiles.FilesUtil
public class FilesUtil
Cloud Files utilities
Constructor Summary | |
---|---|
FilesUtil()
|
Method Summary | |
---|---|
static int |
getIntProperty(java.lang.String key)
Looks up the value of a key from the properties file and converts it to an integer. |
static java.lang.String |
getProperty(java.lang.String key)
Look up a property from the properties file. |
static java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Look up a property from the properties file. |
static void |
loadProperties(java.io.InputStream io)
Loads properties from input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilesUtil()
Method Detail |
---|
public static void loadProperties(java.io.InputStream io) throws java.io.IOException
io
-
java.io.IOException
public static java.lang.String getProperty(java.lang.String key)
key
- The name of the property to be found
public static java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
key
- The name of the property to be found
public static int getIntProperty(java.lang.String key)
key
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |