- java.lang.Object
-
- fr.brouillard.oss.cssfx.CSSFX.CSSFXConfig
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSSFX.CSSFXConfigaddConverter(URIToPathConverter converter)Register a new converter that will be used to map CSS resources to local file.CSSFX.CSSFXConfignoDefaultConverters()Empty the list of default converters.Runnablestart()Start monitoring CSS resources with the config parameters collected until now.
-
-
-
Method Detail
-
noDefaultConverters
public CSSFX.CSSFXConfig noDefaultConverters()
Empty the list of default converters. Especially usefull for testing purposes where full control of the converters is required.- Returns:
- a
CSSFX.CSSFXConfigobject as a builder to allow further configuration
-
addConverter
public CSSFX.CSSFXConfig addConverter(URIToPathConverter converter)
Register a new converter that will be used to map CSS resources to local file.- Parameters:
converter- an additional converter to use, ignored if null- Returns:
- a
CSSFX.CSSFXConfigobject as a builder to allow further configuration
-
start
public Runnable start()
Start monitoring CSS resources with the config parameters collected until now.- Returns:
- a Runnable object to stop CSSFX monitoring
-
-