private static CSSParser createParser ( Object source , NetworkProcessor network , String encoding , SourceType type , URL base ) throws IOException , CSSException { CSSInputStream input = getInput ( source , network , encoding , type ) ; input . setBase ( base ) ; return createParserForInput ( input ) ; }
creates the parser