| Package | Description |
|---|---|
| com.helger.css.reader |
| Modifier and Type | Method and Description |
|---|---|
CSSReaderSettings |
CSSReaderSettings.getClone() |
CSSReaderSettings |
CSSReaderSettings.setBrowserCompliantMode(boolean bBrowserCompliantMode)
Change the browser compliant mode to use.
|
CSSReaderSettings |
CSSReaderSettings.setCSSVersion(ECSSVersion eCSSVersion)
Set the CSS version to be read.
|
CSSReaderSettings |
CSSReaderSettings.setCustomErrorHandler(ICSSParseErrorHandler aCustomErrorHandler) |
CSSReaderSettings |
CSSReaderSettings.setCustomExceptionHandler(ICSSParseExceptionCallback aCustomExceptionHandler) |
CSSReaderSettings |
CSSReaderSettings.setFallbackCharset(Charset aFallbackCharset) |
CSSReaderSettings |
CSSReaderSettings.setInterpretErrorHandler(ICSSInterpretErrorHandler aInterpretErrorHandler)
Set a special interpret error handler for handling errors in successfully
parsed CSS.
|
CSSReaderSettings |
CSSReaderSettings.setTabSize(int nTabSize)
Set the tab size to be used to determine the source location.
|
| Modifier and Type | Method and Description |
|---|---|
static CascadingStyleSheet |
CSSReader.readFromFile(File aFile,
CSSReaderSettings aSettings)
Read the CSS from the passed File.
|
static CascadingStyleSheet |
CSSReader.readFromReader(com.helger.commons.io.IHasReader aRP,
CSSReaderSettings aSettings)
Read the CSS from the passed
IReaderProvider. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromReader(Reader aReader,
CSSReaderSettings aSettings)
Read the CSS from the passed
Reader. |
static CascadingStyleSheet |
CSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP,
CSSReaderSettings aSettings)
Read the CSS from the passed
IHasInputStream. |
static CascadingStyleSheet |
CSSReader.readFromStringReader(String sCSS,
CSSReaderSettings aSettings)
Read the CSS from the passed String using a character stream.
|
static CascadingStyleSheet |
CSSReader.readFromStringStream(String sCSS,
CSSReaderSettings aSettings)
Read the CSS from the passed String using a byte stream.
|
| Constructor and Description |
|---|
CSSReaderSettings(CSSReaderSettings aOther) |
Copyright © 2014–2018 Philip Helger. All rights reserved.