lumis.portal.localization
Class GenericStringResource

Package class diagram package GenericStringResource
java.lang.Object
  extended by 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

Field Summary
protected  Vector<String> resourcePaths
           
 
Constructor Summary
GenericStringResource()
          Creates a new instance without any resource path.
GenericStringResource(String... resourcePaths)
          Creates a new instance with the given resource paths.
 
Method Summary
 void addAllResourcePaths(IResource resource)
          Adds all resource paths of the given IResource.
 void addResourcePath(String resourcePath)
           
 Enumeration<String> getResourcePaths()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourcePaths

protected Vector<String> resourcePaths
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:
7.0.0
Method Detail

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.