Class SxResourceSource

  • All Implemented Interfaces:
    SxSource

    public class SxResourceSource
    extends Object
    implements SxSource
    JAR resource source for Skin Extensions.
    Since:
    1.7M2
    Version:
    $Id: 71517d4a8b1a5083ad1fbb123644be2ec459a710 $
    • Constructor Detail

      • SxResourceSource

        public SxResourceSource​(String resourceName)
        Constructor of this source.
        Parameters:
        resourceName - the full path of the resource to use as extension. Example: path/to/hello.js
    • Method Detail

      • getContent

        public String getContent()
        Specified by:
        getContent in interface SxSource
        Returns:
        the content of the extension source. For example, a javascript script for a javascript extension.
      • getLastModifiedDate

        public long getLastModifiedDate()
        Specified by:
        getLastModifiedDate in interface SxSource
        Returns:
        the last date at which the extension source has been modified.