lumis.portal.localization
Class GenericStringResource
java.lang.Object
lumis.portal.localization.GenericStringResource
- All Implemented Interfaces:
- IResource
- Direct Known Subclasses:
- PortalStringResource
public class GenericStringResource
- extends Object
- implements IResource
Generic string resource that initially is created without any string resource path. The string resource paths should be added with
addAllResourcePaths(IResource)
or addResourcePath(String)
.
- Since:
- 7.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourcePaths
protected Vector<String> resourcePaths
GenericStringResource
public GenericStringResource()
- Creates a new instance without any resource path.
- Since:
- 7.0.0
GenericStringResource
public GenericStringResource(String... resourcePaths)
- Creates a new instance with the given resource paths.
- Parameters:
resourcePaths
- the resource paths.- Since:
- 7.0.0
getResourcePaths
public Enumeration<String> getResourcePaths()
- Specified by:
getResourcePaths
in interface IResource
addResourcePath
public void addResourcePath(String resourcePath)
- Specified by:
addResourcePath
in interface IResource
addAllResourcePaths
public void addAllResourcePaths(IResource resource)
- Adds all resource paths of the given
IResource
.
- Parameters:
resource
- the resource from where the resource paths will be taken.- Since:
- 7.0.0
Lumisportal 7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.