CssHandlerpublic class LocalFileCssHandler extends java.lang.Object implements CssHandler
| Constructor | Description |
|---|---|
LocalFileCssHandler(java.lang.String filename) |
Creates a new LocalFileCssHandler for a given CSS file.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkForMissingResources() |
Checks if the local CSS file exists
|
void |
createOutputFiles() |
Copies the local CSS file to 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 LocalFileCssHandler(java.lang.String filename)
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 the file is not foundCssHandler.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