de.mguennewig.pobjimport
Class Importer

java.lang.Object
  extended by de.mguennewig.pobjimport.Importer

public final class Importer
extends java.lang.Object

A parser for the XML file that defines a PObject database content.

Author:
Michael Günnewig

Constructor Summary
Importer(Container db)
          Creates a new Importer.
 
Method Summary
 void importFile(java.io.File file)
           
 void importFile(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Importer

public Importer(Container db)
Creates a new Importer.

Method Detail

importFile

public void importFile(java.lang.String filename)
                throws java.io.IOException,
                       ParserException,
                       PObjException
Throws:
java.io.IOException
ParserException
PObjException

importFile

public void importFile(java.io.File file)
                throws java.io.IOException,
                       ParserException,
                       PObjException
Throws:
java.io.IOException
ParserException
PObjException