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
 String getFileExtension()
           
 Properties loadJavaProperties(InputStream inputStream)
          Load the properties into a java.util.Properties object
 ValueMap loadWicketProperties(InputStream inputStream)
          Load the properties into a ValueMap.
 

Method Detail

loadWicketProperties

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

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

loadJavaProperties

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

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

getFileExtension

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


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