public final class CssStyleSheetParser extends Object
Modifier and Type | Method and Description |
---|---|
static CssStyleSheet |
parse(InputStream stream)
Parses a stream into a CssStyleSheet .
|
static CssStyleSheet |
parse(InputStream stream, String baseUrl)
Parses a stream into a CssRuleSetParser .
|
static CssStyleSheet |
parse(String data)
Parses a string into a CssStyleSheet .
|
static CssStyleSheet |
parse(String data, String baseUrl)
Parses a string into a CssStyleSheet .
|
public static CssStyleSheet parse(InputStream stream, String baseUrl) throws IOException
CssRuleSetParser
.
stream
- the stream
baseUrl
- the base url
CssStyleSheet
IOException
- Signals that an I/O exception has occurred.
public static CssStyleSheet parse(InputStream stream) throws IOException
CssStyleSheet
.
stream
- the stream
CssStyleSheet
IOException
- Signals that an I/O exception has occurred.
public static CssStyleSheet parse(String data, String baseUrl)
CssStyleSheet
.
data
- the style sheet data
baseUrl
- the base url
CssStyleSheet
public static CssStyleSheet parse(String data)
CssStyleSheet
.
data
- the data
CssStyleSheet
Copyright © 1998–2023 iText Group NV. All rights reserved.