public class XmlStreamStartElementNameAndVersionExtractor extends Object
| Constructor and Description |
|---|
XmlStreamStartElementNameAndVersionExtractor() |
| Modifier and Type | Method and Description |
|---|---|
ObjectPair<String,IVersion> |
extract(InputStream inputStream) |
static <R,E extends Exception> |
process(InputStream inputStream,
IFunction<StartElement,R,E> function) |
public XmlStreamStartElementNameAndVersionExtractor()
public ObjectPair<String,IVersion> extract(InputStream inputStream) throws IOException
IOExceptionpublic static <R,E extends Exception> R process(InputStream inputStream, IFunction<StartElement,R,E> function) throws E extends Exception, IOException
E extends ExceptionIOExceptionCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.