public Restore(String user, String pass, File contents, String uri) throws ParserConfigurationException, SAXException {
public Restore(String user, String pass, String newAdminPass, File contents, String uri) throws ParserConfigurationException, SAXException, XMLDBException {
	public Restore(String user, String pass, File contents, String uri)		throws ParserConfigurationException, SAXException {		this.username = user;		this.pass = pass;		this.uri = uri;		SAXParserFactory saxFactory = SAXParserFactory.newInstance();		saxFactory.setNamespaceAware(true);		saxFactory.setValidating(false);		SAXParser sax = saxFactory.newSAXParser();		reader = sax.getXMLReader();		reader.setContentHandler(this);		stack.push(contents);		// check if the system collection is in the backup. We have to process		// this first to create users.		File dir = contents.getParentFile();			//TODO : find a way to make a corespondance with DBRoker's named constants		if (dir.isDirectory() && dir.getName().equals("db" + File.separatorChar + "system")) {			File sys =								new File(					dir.getAbsolutePath()						+ File.separatorChar						+ "system"						+ File.separatorChar						+ "__contents__.xml");			// put the system collection on top of the stack			if (sys.canRead()) {				//TODO : find a way to make a corespondance with DBRoker's named constants				System.out.println("found 'db" + File.separatorChar + "system'. It will be processed first.");				stack.push(sys);			}		}	}