org.benow.web.css
Class CSSServiceImpl

java.lang.Object
  extended by org.benow.web.css.CSSServiceImpl
All Implemented Interfaces:
org.benow.java.spec.Markup, org.benow.service.Service, CSSService

public class CSSServiceImpl
extends java.lang.Object
implements CSSService


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.benow.java.spec.Markup
org.benow.java.spec.Markup.ParamName, org.benow.java.spec.Markup.ReturnDescription
 
Constructor Summary
CSSServiceImpl()
           
 
Method Summary
 java.util.Collection<java.lang.String> getCSSNamesFor(java.lang.String href)
          Get a list of CSS names that apply for the given url.
 java.io.InputStream getSheetStream(java.lang.String forName)
          Get css for given name, as returned by getCSSNamesFor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSServiceImpl

public CSSServiceImpl()
Method Detail

getCSSNamesFor

public java.util.Collection<java.lang.String> getCSSNamesFor(java.lang.String href)
                                                      throws java.io.IOException,
                                                             HTTPClient.ModuleException,
                                                             java.text.ParseException
Description copied from interface: CSSService
Get a list of CSS names that apply for the given url.

Specified by:
getCSSNamesFor in interface CSSService
Returns:
Throws:
HTTPClient.ModuleException
java.text.ParseException
java.io.IOException

getSheetStream

public java.io.InputStream getSheetStream(java.lang.String forName)
                                   throws java.io.FileNotFoundException
Description copied from interface: CSSService
Get css for given name, as returned by getCSSNamesFor.

Specified by:
getSheetStream in interface CSSService
Returns:
Throws:
java.io.FileNotFoundException