public static class Xcss2EcssConverter.CreateParser extends Object
Constructor and Description |
---|
CreateParser(org.xml.sax.helpers.DefaultHandler handler)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
parse(File file)
Parse a File
|
void |
parse(InputStream stream)
Parse a Stream
|
void |
parse(String uri)
Parse a URI
|
public CreateParser(org.xml.sax.helpers.DefaultHandler handler) throws SAXException, ParserConfigurationException
handler
- - DefaultHandler for the SAX parserParserConfigurationException
SAXException
public void parse(File file) throws IOException, SAXException
file
- - FileIOException
SAXException
public void parse(String uri) throws IOException, SAXException
uri
- - StringIOException
SAXException
public void parse(InputStream stream) throws IOException, SAXException
stream
- - InputStreamIOException
SAXException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.