org.apache.wicket.resource
Interface IPropertiesLoader

All Known Implementing Classes:
IsoPropertiesFilePropertiesLoader, UtfPropertiesFilePropertiesLoader, XmlFilePropertiesLoader

public interface IPropertiesLoader

Property loaders as used by PropertiesFactory to load properties

Author:
Juergen Donnerstag

Method Summary
 java.lang.String getFileExtension()
           
 java.util.Properties loadJavaProperties(java.io.InputStream inputStream)
          Load the properties into a java.util.Properties object
 ValueMap loadWicketProperties(java.io.InputStream inputStream)
          Load the properties into a ValueMap.
 

Method Detail

loadWicketProperties

ValueMap loadWicketProperties(java.io.InputStream inputStream)
Load the properties into a ValueMap.

Parameters:
inputStream -
Returns:
Properties. Null if not applicable or not found or ...

loadJavaProperties

java.util.Properties loadJavaProperties(java.io.InputStream inputStream)
                                        throws java.io.IOException
Load the properties into a java.util.Properties object

Parameters:
inputStream -
Returns:
Properties. Null if not applicable or not found or ...
Throws:
java.io.IOException

getFileExtension

java.lang.String getFileExtension()
Returns:
The file extension this loader should be applied to


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.