|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.statcvs.output.LocalFileCssHandler
public class LocalFileCssHandler
CSS handler for a local CSS file which will be copied to the output dir.
| Constructor Summary | |
|---|---|
LocalFileCssHandler(java.lang.String filename)
Creates a new LocalFileCssHandler for a given CSS file. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalFileCssHandler(java.lang.String filename)
filename - Name of the CSS file| Method Detail |
|---|
public java.lang.String getLink()
CssHandler
getLink 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||