public class UrlCssHandler extends java.lang.Object implements CssHandler
| Constructor and Description |
|---|
UrlCssHandler(java.net.URL url)
Creates a new UrlCssHandler for a CSS file located at a given URL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkForMissingResources()
We could check here if there is a real CSS file at the URL, but
this would require net access, so we just do nothing.
|
void |
createOutputFiles()
We don't create any output files.
|
java.lang.String |
getLink()
Simply return the URL
|
java.lang.String |
toString()
toString
|
public UrlCssHandler(java.net.URL url)
url - the url to the CSS filepublic java.lang.String getLink()
getLink 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