Package lumis.portal.localization
Class GenericStringResource
- java.lang.Object
-
- lumis.portal.localization.GenericStringResource
-
- All Implemented Interfaces:
IResource
- Direct Known Subclasses:
DeploymentStringResource
,PortalStringResource
public class GenericStringResource extends java.lang.Object implements IResource
Generic string resource that initially is created without any string resource path. The string resource paths should be added withaddAllResourcePaths(IResource)
oraddResourcePath(String)
.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Vector<java.lang.String>
resourcePaths
-
Constructor Summary
Constructors Constructor Description GenericStringResource()
Creates a new instance without any resource path.GenericStringResource(java.lang.String... resourcePaths)
Creates a new instance with the given resource paths.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllResourcePaths(IResource resource)
Adds all resource paths of the givenIResource
.void
addResourcePath(java.lang.String resourcePath)
java.util.Enumeration<java.lang.String>
getResourcePaths()
-
-
-
Constructor Detail
-
GenericStringResource
public GenericStringResource()
Creates a new instance without any resource path.- Since:
- 7.0.0
-
GenericStringResource
public GenericStringResource(java.lang.String... resourcePaths)
Creates a new instance with the given resource paths.- Parameters:
resourcePaths
- the resource paths.- Since:
- 11.0.0
-
-
Method Detail
-
getResourcePaths
public java.util.Enumeration<java.lang.String> getResourcePaths()
- Specified by:
getResourcePaths
in interfaceIResource
-
addResourcePath
public void addResourcePath(java.lang.String resourcePath)
- Specified by:
addResourcePath
in interfaceIResource
-
-