fr.ove.utils
Class ResourcesManager

java.lang.Object
  extended byfr.ove.utils.ResourcesManager
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CachingResourcesManager

public class ResourcesManager
extends java.lang.Object
implements java.io.Serializable

A resources manager.
All the resources are specified in a properties file, each property defined in a key = val1:val2:....:valn.
The key represents the name of the property. The different vali the parameters identifying the property.
Each parameter is separated by the ':' character.

Version:
2.0 17/12/1999
Author:
© 1999 DIRAT Laurent
See Also:
Serialized Form

Constructor Summary
ResourcesManager(java.lang.String resourcesName)
          Constructor
 
Method Summary
 java.lang.String getResourceString(java.lang.String prop)
          Get the raw string for the given property
 java.lang.String[] getResourceStrings(java.lang.String prop)
          Get the resource strings for the given property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcesManager

public ResourcesManager(java.lang.String resourcesName)
Constructor

Parameters:
resourcesName - the name of the resources file.
he name is specified without the ".properties" extension. If the property file is located in a package, the fully qualified name (e.g. my.package.filename) must be used.
Method Detail

getResourceString

public java.lang.String getResourceString(java.lang.String prop)
Get the raw string for the given property


getResourceStrings

public java.lang.String[] getResourceStrings(java.lang.String prop)
Get the resource strings for the given property



Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.