Package net.sf.statcvs.output
Class LocalFileCssHandler
java.lang.Object
net.sf.statcvs.output.LocalFileCssHandler
- All Implemented Interfaces:
CssHandler
CSS handler for a local CSS file which will be copied to the output dir.
- Author:
- Richard Cyganiak
-
Constructor Summary
ConstructorsConstructorDescriptionLocalFileCssHandler
(String filename) Creates a new LocalFileCssHandler for a given CSS file. -
Method Summary
-
Constructor Details
-
LocalFileCssHandler
Creates a new LocalFileCssHandler for a given CSS file. The filename can be absoulte or relative.- Parameters:
filename
- Name of the CSS file
-
-
Method Details
-
getLink
Description copied from interface:CssHandler
returns a link to the CSS file, which can be used as the HREF in HTML's <LINK REL="stylesheet"invalid input: '>' HREF="filename.css";.- Specified by:
getLink
in interfaceCssHandler
- Returns:
- a link to the CSS file
- See Also:
-
checkForMissingResources
Checks if the local CSS file exists- Specified by:
checkForMissingResources
in interfaceCssHandler
- Throws:
ConfigurationException
- if the file is not found- See Also:
-
createOutputFiles
Copies the local CSS file to the output directory- Specified by:
createOutputFiles
in interfaceCssHandler
- Throws:
IOException
- if an output file can't be created- See Also:
-
toString
toString
-