|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable<Object,Object> java.util.Properties net.spy.memcached.BuildInfo
public class BuildInfo
Information regarding this spy.jar build. The following properties will be set at build time:
Field Summary |
---|
Fields inherited from class java.util.Properties |
---|
defaults |
Constructor Summary | |
---|---|
|
BuildInfo()
Get an instance of BuildInfo that describes the spy.jar build. |
protected |
BuildInfo(String resource)
Get an instance of BuildInfo that describes the build info found in the given resource. |
Method Summary | |
---|---|
Date |
getBuildDate()
Get the date of this build. |
URL |
getFile(String rel)
Get a URL to a file within this classloader. |
static void |
main(String[] args)
Print out the build properties. |
String |
toString()
String me. |
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuildInfo() throws IOException
IOException
protected BuildInfo(String resource) throws IOException
IOException
Method Detail |
---|
public Date getBuildDate()
public URL getFile(String rel) throws FileNotFoundException
rel
- the relative name (i.e. net.spy.changelog)
FileNotFoundException
- if the file cannot be foundpublic String toString()
toString
in class Hashtable<Object,Object>
public static void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |