@ Deprecated public static final StyleSheet parse ( String css ) throws IOException , CSSException { URL base = new URL ( "file:///base/url/is/not/specified" ) ; //Cannot determine the base URI in this method but we need some base URI for relative URLs return getCSSParserFactory ( ) . parse ( css , getNetworkProcessor ( ) , null , SourceType . EMBEDDED , base ) ; }
Parses text into StyleSheet