org.apache.wicket.resource
Class IsoPropertiesFilePropertiesLoader

java.lang.Object
  extended by org.apache.wicket.resource.IsoPropertiesFilePropertiesLoader
All Implemented Interfaces:
IPropertiesLoader

public class IsoPropertiesFilePropertiesLoader
extends Object
implements IPropertiesLoader

Load properties from properties file. The encoding of the file must be ISO 8859-1.

Author:
Juergen Donnerstag
See Also:
Properties

Constructor Summary
IsoPropertiesFilePropertiesLoader(String extension)
          Construct.
 
Method Summary
 String getFileExtension()
           
 Properties loadJavaProperties(InputStream in)
          Load the properties into a java.util.Properties object
 ValueMap loadWicketProperties(InputStream inputStream)
          Load the properties into a ValueMap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsoPropertiesFilePropertiesLoader

public IsoPropertiesFilePropertiesLoader(String extension)
Construct.

Parameters:
extension -
Method Detail

getFileExtension

public final String getFileExtension()
Specified by:
getFileExtension in interface IPropertiesLoader
Returns:
The file extension this loader should be applied to
See Also:
IPropertiesLoader.getFileExtension()

loadJavaProperties

public Properties loadJavaProperties(InputStream in)
                              throws IOException
Description copied from interface: IPropertiesLoader
Load the properties into a java.util.Properties object

Specified by:
loadJavaProperties in interface IPropertiesLoader
Returns:
Properties. Null if not applicable or not found or ...
Throws:
IOException
See Also:
IPropertiesLoader.loadJavaProperties(java.io.InputStream)

loadWicketProperties

public ValueMap loadWicketProperties(InputStream inputStream)
Description copied from interface: IPropertiesLoader
Load the properties into a ValueMap.

Specified by:
loadWicketProperties in interface IPropertiesLoader
Returns:
Properties. Null if not applicable or not found or ...
See Also:
IPropertiesLoader.loadWicketProperties(java.io.InputStream)


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