CssHandlerpublic class DefaultCssHandler extends java.lang.Object implements CssHandler
| Constructor | Description |
|---|---|
DefaultCssHandler(java.lang.String filename) |
Creates a new DefaultCssHandler for a CSS file in the
/src/net/sf/statcvs/web-files/ folder of the distribution JAR. |
| Modifier and Type | Method | Description |
|---|---|---|
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
|
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
|
public DefaultCssHandler(java.lang.String filename)
/src/net/sf/statcvs/web-files/ folder of the distribution JAR.
This must be a filename only, without a directory.filename - Name of the css filepublic java.lang.String getLink()
CssHandlergetLink in interface CssHandlerCssHandler.getLink()public void checkForMissingResources()
throws ConfigurationException
checkForMissingResources in interface CssHandlerConfigurationException - if some resource is missing.CssHandler.checkForMissingResources()public void createOutputFiles()
throws java.io.IOException
createOutputFiles in interface CssHandlerjava.io.IOException - if an output file can't be createdCssHandler.createOutputFiles()public java.lang.String toString()
toString in class java.lang.Object