| Package | Description |
|---|---|
| com.helger.css.parser | |
| com.helger.css.reader | |
| com.helger.css.reader.errorhandler |
| Modifier and Type | Field and Description |
|---|---|
protected ICSSParseErrorHandler |
AbstractParserCSS.m_aCustomErrorHandler |
protected ICSSParseErrorHandler |
ParserCSS30TokenManager.m_aCustomErrorHandler |
protected ICSSParseErrorHandler |
ParserCSS30TokenManager.m_aCustomErrorHandler |
protected ICSSParseErrorHandler |
AbstractParserCSS.m_aCustomErrorHandler |
| Modifier and Type | Method and Description |
|---|---|
ICSSParseErrorHandler |
AbstractParserCSS.getCustomErrorHandler() |
ICSSParseErrorHandler |
AbstractParserCSS.getCustomErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractParserCSS.setCustomErrorHandler(ICSSParseErrorHandler aCustomErrorHandler)
Set a custom error handler to use.
|
void |
ParserCSS30TokenManager.setCustomErrorHandler(ICSSParseErrorHandler aCustomErrorHandler)
Set a custom error handler to use.
|
void |
ParserCSS30TokenManager.setCustomErrorHandler(ICSSParseErrorHandler aCustomErrorHandler)
Set a custom error handler to use.
|
void |
AbstractParserCSS.setCustomErrorHandler(ICSSParseErrorHandler aCustomErrorHandler)
Set a custom error handler to use.
|
| Modifier and Type | Method and Description |
|---|---|
ICSSParseErrorHandler |
CSSReaderSettings.getCustomErrorHandler() |
ICSSParseErrorHandler |
CSSReaderSettings.getCustomErrorHandler() |
static ICSSParseErrorHandler |
CSSReader.getDefaultParseErrorHandler() |
static ICSSParseErrorHandler |
CSSReaderDeclarationList.getDefaultParseErrorHandler() |
static ICSSParseErrorHandler |
CSSReaderDeclarationList.getDefaultParseErrorHandler() |
static ICSSParseErrorHandler |
CSSReader.getDefaultParseErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
static CascadingStyleSheet |
CSSReader.readFromFile(File aFile,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed File.
|
static CSSDeclarationList |
CSSReaderDeclarationList.readFromFile(File aFile,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler) |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromFile(File aFile,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler) |
static CascadingStyleSheet |
CSSReader.readFromFile(File aFile,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed File.
|
static CascadingStyleSheet |
CSSReader.readFromFile(File aFile,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed File.
|
static CSSDeclarationList |
CSSReaderDeclarationList.readFromFile(File aFile,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler) |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromFile(File aFile,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler) |
static CascadingStyleSheet |
CSSReader.readFromFile(File aFile,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed File.
|
static CascadingStyleSheet |
CSSReader.readFromReader(com.helger.commons.io.IHasReader aRP,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
IHasReader. |
static CascadingStyleSheet |
CSSReader.readFromReader(com.helger.commons.io.IHasReader aRP,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
IHasReader. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromReader(Reader aReader,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed
Reader. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromReader(Reader aReader,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed
Reader. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromReader(Reader aReader,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
Reader. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromReader(Reader aReader,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
Reader. |
static CascadingStyleSheet |
CSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed
IHasInputStream. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromStream(com.helger.commons.io.IHasInputStream aISP,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed
IHasInputStream. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromStream(com.helger.commons.io.IHasInputStream aISP,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed
IHasInputStream. |
static CascadingStyleSheet |
CSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed
IHasInputStream. |
static CascadingStyleSheet |
CSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
IHasInputStream. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromStream(com.helger.commons.io.IHasInputStream aISP,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
IHasInputStream. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromStream(com.helger.commons.io.IHasInputStream aISP,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
IHasInputStream. |
static CascadingStyleSheet |
CSSReader.readFromStream(com.helger.commons.io.IHasInputStream aISP,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
IHasInputStream. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromStream(InputStream aIS,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed
InputStream. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromStream(InputStream aIS,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed
InputStream. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromStream(InputStream aIS,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
InputStream. |
static CSSDeclarationList |
CSSReaderDeclarationList.readFromStream(InputStream aIS,
Charset aCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed
InputStream. |
static CascadingStyleSheet |
CSSReader.readFromString(String sCSS,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed String using a byte stream.
|
static CascadingStyleSheet |
CSSReader.readFromString(String sCSS,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed String using a byte stream.
|
static CascadingStyleSheet |
CSSReader.readFromString(String sCSS,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed String using a byte stream.
|
static CascadingStyleSheet |
CSSReader.readFromString(String sCSS,
Charset aFallbackCharset,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed String using a byte stream.
|
static CascadingStyleSheet |
CSSReader.readFromString(String sCSS,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed String using a character stream.
|
static CSSDeclarationList |
CSSReaderDeclarationList.readFromString(String sCSS,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed String.
|
static CSSDeclarationList |
CSSReaderDeclarationList.readFromString(String sCSS,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed String.
|
static CascadingStyleSheet |
CSSReader.readFromString(String sCSS,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler)
Read the CSS from the passed String using a character stream.
|
static CascadingStyleSheet |
CSSReader.readFromString(String sCSS,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed String using a character stream.
|
static CSSDeclarationList |
CSSReaderDeclarationList.readFromString(String sCSS,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed String.
|
static CSSDeclarationList |
CSSReaderDeclarationList.readFromString(String sCSS,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed String.
|
static CascadingStyleSheet |
CSSReader.readFromString(String sCSS,
ECSSVersion eVersion,
ICSSParseErrorHandler aCustomErrorHandler,
ICSSParseExceptionCallback aCustomExceptionHandler)
Read the CSS from the passed String using a character stream.
|
CSSReaderSettings |
CSSReaderSettings.setCustomErrorHandler(ICSSParseErrorHandler aCustomErrorHandler) |
CSSReaderSettings |
CSSReaderSettings.setCustomErrorHandler(ICSSParseErrorHandler aCustomErrorHandler) |
static void |
CSSReader.setDefaultParseErrorHandler(ICSSParseErrorHandler aDefaultParseErrorHandler)
Set the default CSS parse error handler (for recoverable errors).
|
static void |
CSSReaderDeclarationList.setDefaultParseErrorHandler(ICSSParseErrorHandler aDefaultParseErrorHandler)
Set the default CSS parse error handler (for recoverable errors).
|
static void |
CSSReaderDeclarationList.setDefaultParseErrorHandler(ICSSParseErrorHandler aDefaultParseErrorHandler)
Set the default CSS parse error handler (for recoverable errors).
|
static void |
CSSReader.setDefaultParseErrorHandler(ICSSParseErrorHandler aDefaultParseErrorHandler)
Set the default CSS parse error handler (for recoverable errors).
|
| Modifier and Type | Class and Description |
|---|---|
class |
CollectingCSSParseErrorHandler
A collecting implementation of
ICSSParseErrorHandler. |
class |
DoNothingCSSParseErrorHandler
An implementation of
ICSSParseErrorHandler that does nothing. |
class |
LoggingCSSParseErrorHandler
A logging implementation of
ICSSParseErrorHandler. |
class |
ThrowingCSSParseErrorHandler
An implementation of
ICSSParseErrorHandler that throws a
ParseException. |
| Modifier and Type | Method and Description |
|---|---|
default ICSSParseErrorHandler |
ICSSParseErrorHandler.and(ICSSParseErrorHandler aOther)
Create a new
ICSSParseErrorHandler that invokes both
this and the other error handler in a serial way. |
default ICSSParseErrorHandler |
ICSSParseErrorHandler.and(ICSSParseErrorHandler aOther)
Create a new
ICSSParseErrorHandler that invokes both
this and the other error handler in a serial way. |
| Modifier and Type | Method and Description |
|---|---|
default ICSSParseErrorHandler |
ICSSParseErrorHandler.and(ICSSParseErrorHandler aOther)
Create a new
ICSSParseErrorHandler that invokes both
this and the other error handler in a serial way. |
default ICSSParseErrorHandler |
ICSSParseErrorHandler.and(ICSSParseErrorHandler aOther)
Create a new
ICSSParseErrorHandler that invokes both
this and the other error handler in a serial way. |
Copyright © 2014–2022 Philip Helger. All rights reserved.