Class LocalFileCssHandler

  • All Implemented Interfaces:
    CssHandler

    public class LocalFileCssHandler
    extends java.lang.Object
    implements CssHandler
    CSS handler for a local CSS file which will be copied to the output dir.
    Author:
    Richard Cyganiak
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalFileCssHandler​(java.lang.String filename)
      Creates a new LocalFileCssHandler for a given CSS file.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkForMissingResources()
      Checks if the local CSS file exists
      void createOutputFiles()
      Copies the local CSS file to the output directory
      java.lang.String getLink()
      returns a link to the CSS file, which can be used as the HREF in HTML's <LINK REL="stylesheet"> HREF="filename.css";.
      java.lang.String toString()
      toString
      • Methods inherited from class java.lang.Object

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

      • LocalFileCssHandler

        public LocalFileCssHandler​(java.lang.String filename)
        Creates a new LocalFileCssHandler for a given CSS file. The filename can be absoulte or relative.
        Parameters:
        filename - Name of the CSS file