public class Xml2dbCommons
extends java.lang.Object
Constructor and Description |
---|
Xml2dbCommons() |
Modifier and Type | Method and Description |
---|---|
static long |
countLines(java.io.File xml,
java.nio.charset.Charset charset,
SimpleTaskStatus status) |
static long |
countLines(java.io.InputStream xml,
java.nio.charset.Charset charset,
SimpleTaskStatus status) |
static java.nio.charset.Charset |
detectCharset(java.io.InputStream is) |
static java.lang.String |
detectCharsetName(java.io.InputStream is) |
static org.xml.sax.InputSource |
openReader(java.io.File xmlfile,
java.nio.charset.Charset charset) |
static org.xml.sax.InputSource |
openReader(org.xml.sax.InputSource is) |
static org.xml.sax.InputSource |
openReader(java.io.InputStream xml,
java.nio.charset.Charset charset) |
public static java.nio.charset.Charset detectCharset(java.io.InputStream is)
public static java.lang.String detectCharsetName(java.io.InputStream is)
public static org.xml.sax.InputSource openReader(java.io.File xmlfile, java.nio.charset.Charset charset)
public static org.xml.sax.InputSource openReader(java.io.InputStream xml, java.nio.charset.Charset charset)
public static org.xml.sax.InputSource openReader(org.xml.sax.InputSource is)
public static long countLines(java.io.File xml, java.nio.charset.Charset charset, SimpleTaskStatus status)
public static long countLines(java.io.InputStream xml, java.nio.charset.Charset charset, SimpleTaskStatus status)