Package org.apache.wicket.resource
Class XmlFilePropertiesLoader
- java.lang.Object
-
- org.apache.wicket.resource.XmlFilePropertiesLoader
-
- All Implemented Interfaces:
IPropertiesLoader
public class XmlFilePropertiesLoader extends java.lang.Object implements IPropertiesLoader
Load properties from XML file- Author:
- Juergen Donnerstag
-
-
Constructor Summary
Constructors Constructor Description XmlFilePropertiesLoader(java.lang.String fileExtension)Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFileExtension()java.util.PropertiesloadJavaProperties(java.io.InputStream in)Load the properties into a java.util.Properties objectorg.apache.wicket.util.value.ValueMaploadWicketProperties(java.io.InputStream inputStream)Load the properties into a ValueMap.
-
-
-
Method Detail
-
getFileExtension
public final java.lang.String getFileExtension()
- Specified by:
getFileExtensionin interfaceIPropertiesLoader- Returns:
- The file extension this loader should be applied to
- See Also:
IPropertiesLoader.getFileExtension()
-
loadJavaProperties
public java.util.Properties loadJavaProperties(java.io.InputStream in) throws java.io.IOExceptionDescription copied from interface:IPropertiesLoaderLoad the properties into a java.util.Properties object- Specified by:
loadJavaPropertiesin interfaceIPropertiesLoader- Returns:
- Properties. Null if not applicable or not found or ...
- Throws:
java.io.IOException- See Also:
IPropertiesLoader.loadJavaProperties(java.io.InputStream)
-
loadWicketProperties
public org.apache.wicket.util.value.ValueMap loadWicketProperties(java.io.InputStream inputStream)
Description copied from interface:IPropertiesLoaderLoad the properties into a ValueMap.- Specified by:
loadWicketPropertiesin interfaceIPropertiesLoader- Returns:
- Properties. Null if not applicable or not found or ...
- See Also:
IPropertiesLoader.loadWicketProperties(java.io.InputStream)
-
-