net.sf.statcvs.output
public class LocalFileCssHandler extends Object implements CssHandler
Constructor and Description |
---|
LocalFileCssHandler(String filename)
Creates a new LocalFileCssHandler for a given CSS file.
|
Modifier and Type | Method and Description |
---|---|
void |
checkForMissingResources()
Checks if the local CSS file exists
|
void |
createOutputFiles()
Copies the local CSS file to the output directory
|
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";.
|
String |
toString()
toString
|
public LocalFileCssHandler(String filename)
filename
- Name of the CSS filepublic String getLink()
CssHandler
getLink
in interface CssHandler
CssHandler.getLink()
public void checkForMissingResources() throws ConfigurationException
checkForMissingResources
in interface CssHandler
ConfigurationException
- if the file is not foundCssHandler.checkForMissingResources()
public void createOutputFiles() throws IOException
createOutputFiles
in interface CssHandler
IOException
- if an output file can't be createdCssHandler.createOutputFiles()