public abstract class AbstractURLPropertyIO extends AbstractPropertyIO
| Constructor and Description | 
|---|
| AbstractURLPropertyIO(URL url)Constructor, where cache and readonly is  true. | 
| Modifier and Type | Method and Description | 
|---|---|
| Properties | getProperties()Gets the Properties from method "getPropertiesFromUrl()", tihs incapsulates the performance logging and exception handling. | 
| protected abstract Properties | getPropertiesFromUrl()Abstract method to retrieve the Properties from an URL and mayby another parameters which is provided in the instance constructor. | 
| String | getSource()The source of the properties (URL) | 
| URL | getUrl()The URL | 
| void | setValue(String propertyName,
        String value)The setValue method which allways gives an exception, since they can not be set through this PropertyIO. | 
| void | validate()Validates the PropertyIO, veirfies that the URL is not  nulland the Properties could be retrived. | 
backup, getCacheTime, getLastLoaded, getLastSaved, getLogger, getTypedProperties, getTypedValue, getValue, isCached, isReadonly, logPerformanceGetProperties, logPerformanceSetValue, reload, setCacheTime, storeTypedValue, updateLastLoaded, updateLastSaved, validateWritableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic AbstractURLPropertyIO(URL url)
true.url - the URLpublic final URL getUrl()
public final Properties getProperties()
Propertiesprotected abstract Properties getPropertiesFromUrl() throws PropertyIOException
PropertyIOException - if the Properties could not be loaded.public final String getSource()
public final void setValue(String propertyName, String value) throws PropertyIOException
propertyName - the name of the propertyvalue - the string value of the property.PropertyIOException - if the IO is readonly or failed to write the value.public void validate()
              throws PropertyIOException
null and the Properties could be retrived.PropertyIOException