Class AbstractResourceFactory

  • Direct Known Subclasses:
    ResourceFactory

    public abstract class AbstractResourceFactory
    extends Object
    Abstract class that defines the main methods to obtain the URL of different resources such as images, icons etc.
    Author:
    Orlando Paz <orlando.paz@kuwaiba.org>
    • Constructor Detail

      • AbstractResourceFactory

        public AbstractResourceFactory()
    • Method Detail

      • getClassIcon

        public abstract String getClassIcon​(String className)
        Builds and caches an icon of a given class.
        Parameters:
        className - the class name of the icon will be built for
        Returns:
        The URL of the icon
      • getClassSmallIcon

        public abstract String getClassSmallIcon​(String className)
        Builds and caches the small icon of the given class.
        Parameters:
        className - The class name of the small icon will be built for.
        Returns:
        The URL of the small icon