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 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: 21880 $ $Date: 2018-09-21 17:07:19 -0300 (Fri, 21 Sep 2018) $
-
-
Field Summary
Fields Modifier and Type Field Description protected Vector<String>
resourcePaths
-
Constructor Summary
Constructors Constructor Description GenericStringResource()
Creates a new instance without any resource path.GenericStringResource(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(String resourcePath)
Enumeration<String>
getResourcePaths()
-
-
-
Constructor Detail
-
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:
- 11.0.0
-
-
Method Detail
-
getResourcePaths
public Enumeration<String> getResourcePaths()
- Specified by:
getResourcePaths
in interfaceIResource
-
addResourcePath
public void addResourcePath(String resourcePath)
- Specified by:
addResourcePath
in interfaceIResource
-
-