Class GenericStringResource

    • Field Detail

      • resourcePaths

        protected java.util.Vector<java.lang.String> resourcePaths
    • 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 interface IResource
      • addResourcePath

        public void addResourcePath​(java.lang.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