net.sf.statcvs.output

Class DefaultCssHandler

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

DefaultCssHandler(String filename)
Creates a new DefaultCssHandler for a CSS file in the /src/net/sf/statcvs/web-files/ folder of the distribution JAR.

Method Summary

void
checkForMissingResources()
No external resources are necessary for default CSS files, so nothing is done here
void
createOutputFiles()
Extracts the CSS file from the distribution JAR and saves it into the output directory
String
getLink()
String
toString()
toString

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

checkForMissingResources

public void checkForMissingResources()
            throws ConfigurationException
No external resources are necessary for default CSS files, so nothing is done here
Specified by:
checkForMissingResources in interface CssHandler

createOutputFiles

public void createOutputFiles()
            throws IOException
Extracts the CSS file from the distribution JAR and saves it into the output directory
Specified by:
createOutputFiles in interface CssHandler

getLink

public String getLink()
Specified by:
getLink in interface CssHandler

toString

public String toString()
toString
Returns:
string