public StyleSheet parse ( Object source , NetworkProcessor network , String encoding , SourceType type , Element inline , boolean inlinePriority , URL base ) throws IOException , CSSException { StyleSheet sheet = ( StyleSheet ) CSSFactory . getRuleFactory ( ) . createStyleSheet ( ) . unlock ( ) ; Preparator preparator = new SimplePreparator ( inline , inlinePriority ) ; return parseAndImport ( source , network , encoding , type , sheet , preparator , base , null ) ; }
Parses source of given type