public SelectorList parseSelectors(final String selectors) throws IOException {
        try (InputSource source = new InputSource(new StringReader(selectors))) {
            final HandlerBase handler = new HandlerBase();
            parser_.setDocumentHandler(handler);
            return parser_.parseSelectors(source);
        }
    }
public SelectorList parseSelectors ( final String selectors ) throws IOException { try ( InputSource source = new InputSource ( new StringReader ( selectors ) ) ) { final HandlerBase handler = new HandlerBase ( ) ; parser_ . setDocumentHandler ( handler ) ; return parser_ . parseSelectors ( source ) ; } }
Parses a string into a CSSSelectorList.

@param selectors the input string
@return the css selector list
@throws IOException if the underlying SAC parser throws an IOException