com.github.spuchmann.xml.splitter.XmlSplitter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xml-splitter Show documentation
Show all versions of xml-splitter Show documentation
A simple java library which makes it easy to split xml files into fragments.
The newest version!
package com.github.spuchmann.xml.splitter;
import java.io.InputStream;
/**
* basic interface for splitting an xml
*
* @since 0.1.0
*/
public interface XmlSplitter {
/**
* main trigger for the splitting action
*
* @param name
* defines the name of the splitting operation (e.g. a filename or a session name)
* @param inputStream
* xml source
* @return basic statistic object
*/
XmlSplitStatistic split(String name, InputStream inputStream) throws XmlSplitException;
}