xmlparser.utils.IO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simplexml Show documentation
Show all versions of simplexml Show documentation
A clean and simple XML parser, serializer, and deserializer.
package xmlparser.utils;
import java.io.ByteArrayInputStream;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
public enum IO {;
public static InputStreamReader newStreamReader(final String xml, final Charset charset) {
return new InputStreamReader(new ByteArrayInputStream(xml.getBytes(charset)), charset);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy