|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.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(java.lang.String resource)
Get an instance of BuildInfo that describes the build info found in the given resource. |
| Method Summary | |
|---|---|
java.util.Date |
getBuildDate()
Get the date of this build. |
java.net.URL |
getFile(java.lang.String rel)
Get a URL to a file within this classloader. |
static void |
main(java.lang.String[] args)
Print out the build properties. |
java.lang.String |
toString()
String me. |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| 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 java.io.IOException
java.io.IOException
protected BuildInfo(java.lang.String resource)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public java.util.Date getBuildDate()
public java.net.URL getFile(java.lang.String rel)
throws java.io.FileNotFoundException
rel - the relative name (i.e. net.spy.changelog)
java.io.FileNotFoundException - if the file cannot be foundpublic java.lang.String toString()
toString in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||