Class JXCSkinClassSource

    • Constructor Summary

      Constructors 
      Constructor Description
      JXCSkinClassSource​(@NotNull java.lang.String baseName)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.io.InputStream getInputStream​(@NotNull java.lang.String name)
      Returns an InputStream for a resource name.
      @NotNull java.lang.String getURI​(@NotNull java.lang.String name)
      Returns a description of the location of a resource name.
      • Methods inherited from class java.lang.Object

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

      • JXCSkinClassSource

        public JXCSkinClassSource​(@NotNull
                                  @NotNull java.lang.String baseName)
                           throws JXCSkinException
        Creates a new instance.
        Parameters:
        baseName - the base resource name to prepend to all resource names
        Throws:
        JXCSkinException - if the skin cannot be loaded
    • Method Detail

      • getInputStream

        @NotNull
        public @NotNull java.io.InputStream getInputStream​(@NotNull
                                                           @NotNull java.lang.String name)
                                                    throws java.io.IOException
        Description copied from interface: JXCSkinSource
        Returns an InputStream for a resource name.
        Parameters:
        name - the resource name
        Returns:
        the input stream for the resource
        Throws:
        java.io.IOException - if the resource cannot be loaded
      • getURI

        @NotNull
        public @NotNull java.lang.String getURI​(@NotNull
                                                @NotNull java.lang.String name)
        Description copied from interface: JXCSkinSource
        Returns a description of the location of a resource name.
        Parameters:
        name - the resource name
        Returns:
        the description of the resource