Class WidgetJarLibInfo


  • public class WidgetJarLibInfo
    extends java.lang.Object
    Contains information about single component defined in a module library.
    • Constructor Summary

      Constructors 
      Constructor Description
      WidgetJarLibInfo​(java.lang.String id, java.util.Properties properties, java.io.File jarFile, java.lang.String prefix)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getExternalLocation()
      Retrieves a URI to defining module source
      java.lang.String getId()
      Retrieves component's definition identity
      java.util.jar.JarFile getJarFile()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1808, use getJarPath() instead
      java.lang.String getJarName()
      Retrieves a name of defining module's library
      java.io.File getJarPath()
      Retrieves a defining module's library
      java.lang.String getPrefix()
      Retrieves a path prefix for components resources
      java.util.Properties getProperties()  
      void setExternalLocation​(java.lang.String externalLocation)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WidgetJarLibInfo

        public WidgetJarLibInfo​(java.lang.String id,
                                java.util.Properties properties,
                                java.io.File jarFile,
                                java.lang.String prefix)
        Parameters:
        id - id of component
        properties - properties of component
        jarFile - library file of defining module
        prefix - path prefix for components resources
    • Method Detail

      • getId

        public java.lang.String getId()
        Retrieves component's definition identity
        Returns:
        id of component
      • getProperties

        public java.util.Properties getProperties()
      • getPrefix

        public java.lang.String getPrefix()
        Retrieves a path prefix for components resources
        Returns:
        resources prefix
      • getJarFile

        @Deprecated(since="1808",
                    forRemoval=true)
        public java.util.jar.JarFile getJarFile()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1808, use getJarPath() instead
      • getJarName

        public java.lang.String getJarName()
        Retrieves a name of defining module's library
        Returns:
        name of module library
      • getJarPath

        public java.io.File getJarPath()
        Retrieves a defining module's library
        Returns:
        module library
      • getExternalLocation

        public java.lang.String getExternalLocation()
        Retrieves a URI to defining module source
        Returns:
        module source URI
      • setExternalLocation

        public void setExternalLocation​(java.lang.String externalLocation)
        Parameters:
        externalLocation -