Class DefaultCssHandler

java.lang.Object
net.sf.statcvs.output.DefaultCssHandler
All Implemented Interfaces:
CssHandler

public class DefaultCssHandler extends Object implements CssHandler
CSS handler for a CSS file included in the distribution JAR file.
Author:
Richard Cyganiak
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new DefaultCssHandler for a CSS file in the /src/net/sf/statcvs/web-files/ folder of the distribution JAR.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    No external resources are necessary for default CSS files, so nothing is done here
    void
    Extracts the CSS file from the distribution JAR and saves it into the output directory
    returns a link to the CSS file, which can be used as the HREF in HTML's <LINK REL="stylesheet"invalid input: '&gt' HREF="filename.css";.
    toString

    Methods inherited from class java.lang.Object

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

    • DefaultCssHandler

      public DefaultCssHandler(String filename)
      Creates a new DefaultCssHandler for a CSS file in the /src/net/sf/statcvs/web-files/ folder of the distribution JAR. This must be a filename only, without a directory.
      Parameters:
      filename - Name of the css file
  • Method Details