public class DatabaseProjectReader extends Object
Modifier and Type | Field and Description |
---|---|
protected static AttributesImpl |
EMPTY_ATTR_LIST |
protected static String |
EMPTY_LOCALNAME |
protected static String |
EMPTY_NAMESPACE |
Modifier and Type | Method and Description |
---|---|
static Project |
loadProject(InputSource isource) |
static Project |
loadProject(InputStream istream) |
static Project |
loadProject(String filename)
INTERNAL: Reads the database schema definition from the specified file.
|
static void |
main(String[] args) |
static void |
saveProject(Project project,
ContentHandler dh) |
static void |
saveProject(Project project,
String filename) |
static void |
saveProject(Project project,
String filename,
String encoding) |
protected static final AttributesImpl EMPTY_ATTR_LIST
protected static final String EMPTY_NAMESPACE
protected static final String EMPTY_LOCALNAME
public static Project loadProject(String filename) throws IOException, SAXException
IOException
SAXException
public static Project loadProject(InputStream istream) throws IOException, SAXException
IOException
SAXException
public static Project loadProject(InputSource isource) throws IOException, SAXException
IOException
SAXException
public static void saveProject(Project project, String filename) throws IOException, SAXException
IOException
SAXException
public static void saveProject(Project project, String filename, String encoding) throws IOException, SAXException
IOException
SAXException
public static void saveProject(Project project, ContentHandler dh) throws SAXException
SAXException
public static void main(String[] args) throws IOException, SAXException
IOException
SAXException