Class ResourceBanner

  • All Implemented Interfaces:
    Banner

    public class ResourceBanner
    extends java.lang.Object
    implements Banner
    Prints a banner from a resource.
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceBanner​(java.net.URL resource, java.io.PrintStream out)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void print()
      Print the banner.
      • Methods inherited from class java.lang.Object

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

      • ResourceBanner

        public ResourceBanner​(java.net.URL resource,
                              java.io.PrintStream out)
        Constructor.
        Parameters:
        resource - The resource with the banner
        out - The print stream
    • Method Detail

      • print

        public void print()
        Description copied from interface: Banner
        Print the banner.
        Specified by:
        print in interface Banner