Package org.apache.struts2.util.location
Class LocatableProperties
java.lang.Object
java.util.Dictionary<K,V>
 
java.util.Hashtable<Object,Object>
 
java.util.Properties
org.apache.struts2.util.location.LocatableProperties
Properties implementation that remembers the location of each property.  When
 loaded, a custom properties file parser is used to remember both the line number
 and preceeding comments for each property entry.
- See Also:
- 
Field SummaryFields inherited from class java.util.Propertiesdefaults
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the location of this objectvoidload(InputStream in) setProperty(String key, String value, Object locationObj) Methods inherited from class java.util.Propertiesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
- 
Constructor Details- 
LocatablePropertiespublic LocatableProperties()
- 
LocatableProperties
 
- 
- 
Method Details- 
load- Overrides:
- loadin class- Properties
- Throws:
- IOException
 
- 
setProperty
- 
getPropertyLocation
- 
getLocationDescription copied from interface:LocatableGet the location of this object- Specified by:
- getLocationin interface- Locatable
- Returns:
- the location
 
 
-