public class DefaultXml2dbManager extends java.lang.Object implements Xml2dbManager
Constructor and Description |
---|
DefaultXml2dbManager() |
Modifier and Type | Method and Description |
---|---|
JDBCServerExplorerParameters |
addToDatabase(java.lang.String dbprovider,
java.io.File dbfile,
XMLInfo xmlinfo,
SimpleTaskStatus taskStatus) |
void |
copyXml2Db(java.io.File xml,
java.nio.charset.Charset encoding,
JDBCServerExplorerParameters dbparams,
java.lang.String tablePrefix,
SimpleTaskStatus taskStatus) |
void |
copyXml2Db(java.io.InputStream xml,
java.nio.charset.Charset encoding,
JDBCServerExplorerParameters dbparams,
java.lang.String tablePrefix,
SimpleTaskStatus taskStatus) |
JDBCServerExplorerParameters |
createDatabase(java.lang.String dbprovider,
java.io.File dbfile,
XMLInfo xmlinfo,
SimpleTaskStatus taskStatus) |
java.nio.charset.Charset |
detectCharset(java.io.File file) |
java.nio.charset.Charset |
detectCharset(java.io.InputStream is) |
IProjection |
detectProjection(java.io.File file,
SimpleTaskStatus status) |
XMLInfo |
extractStructure(java.io.File xml,
java.nio.charset.Charset encoding,
IProjection projection,
java.util.Locale locale,
java.lang.String tablePrefix,
SimpleTaskStatus status) |
XMLInfo |
extractStructure(java.io.InputStream xml,
java.nio.charset.Charset encoding,
IProjection projection,
java.util.Locale locale,
java.lang.String tablePrefix,
SimpleTaskStatus status) |
XMLInfo |
extractStructure(java.io.Reader xml,
IProjection projection,
java.util.Locale locale,
java.lang.String tablePrefix,
SimpleTaskStatus status) |
public XMLInfo extractStructure(java.io.File xml, java.nio.charset.Charset encoding, IProjection projection, java.util.Locale locale, java.lang.String tablePrefix, SimpleTaskStatus status) throws java.io.IOException, java.io.FileNotFoundException
extractStructure
in interface Xml2dbManager
java.io.IOException
java.io.FileNotFoundException
public XMLInfo extractStructure(java.io.InputStream xml, java.nio.charset.Charset encoding, IProjection projection, java.util.Locale locale, java.lang.String tablePrefix, SimpleTaskStatus status) throws java.io.IOException
extractStructure
in interface Xml2dbManager
java.io.IOException
public XMLInfo extractStructure(java.io.Reader xml, IProjection projection, java.util.Locale locale, java.lang.String tablePrefix, SimpleTaskStatus status) throws java.io.IOException
extractStructure
in interface Xml2dbManager
java.io.IOException
public void copyXml2Db(java.io.File xml, java.nio.charset.Charset encoding, JDBCServerExplorerParameters dbparams, java.lang.String tablePrefix, SimpleTaskStatus taskStatus)
copyXml2Db
in interface Xml2dbManager
public void copyXml2Db(java.io.InputStream xml, java.nio.charset.Charset encoding, JDBCServerExplorerParameters dbparams, java.lang.String tablePrefix, SimpleTaskStatus taskStatus)
copyXml2Db
in interface Xml2dbManager
public JDBCServerExplorerParameters createDatabase(java.lang.String dbprovider, java.io.File dbfile, XMLInfo xmlinfo, SimpleTaskStatus taskStatus)
createDatabase
in interface Xml2dbManager
public JDBCServerExplorerParameters addToDatabase(java.lang.String dbprovider, java.io.File dbfile, XMLInfo xmlinfo, SimpleTaskStatus taskStatus)
addToDatabase
in interface Xml2dbManager
public java.nio.charset.Charset detectCharset(java.io.InputStream is)
detectCharset
in interface Xml2dbManager
public java.nio.charset.Charset detectCharset(java.io.File file)
detectCharset
in interface Xml2dbManager
public IProjection detectProjection(java.io.File file, SimpleTaskStatus status)
detectProjection
in interface Xml2dbManager