/*************** <auto-copyright.pl BEGIN do not edit this line> **************
 *
 * VR Juggler is (C) Copyright 1998, 1999, 2000 by Iowa State University
 *
 * Original Authors:
 *   Allen Bierbaum, Christopher Just,
 *   Patrick Hartling, Kevin Meinert,
 *   Carolina Cruz-Neira, Albert Baker
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * -----------------------------------------------------------------
 * File:          $RCSfile$
 * Date modified: $Date$
 * Version:       $Revision$
 * -----------------------------------------------------------------
 *
 *************** <auto-copyright.pl END do not edit this line> ***************/



package VjConfig;

import java.io.*;

import VjConfig.ConfigChunkDB;
import VjConfig.ChunkDescDB;
import VjConfig.ChunkFactory;
import VjConfig.ConfigIOStatus;
import VjConfig.ConfigParserException;

public interface ConfigIOHandler {

    public void readConfigChunkDB (File file, ConfigChunkDB db,
                                   ConfigIOStatus iostatus);


    public void readConfigChunkDB (InputStream in, ConfigChunkDB db,
                                   ConfigIOStatus iostatus);


    public boolean writeConfigChunkDB (DataOutputStream out, ConfigChunkDB db);

    public boolean writeConfigChunkDB (File file, ConfigChunkDB db);


    public void readChunkDescDB (File file, ChunkDescDB db,
                                 ConfigIOStatus iostatus);


    public void readChunkDescDB (InputStream in, ChunkDescDB db,
                                 ConfigIOStatus iostatus);


    public boolean writeChunkDescDB (DataOutputStream out, ChunkDescDB db);

    public boolean writeChunkDescDB (File file, ChunkDescDB db);


}

/*************** <auto-copyright.pl BEGIN do not edit this line> **************
 *
 * VR Juggler is (C) Copyright 1998, 1999, 2000 by Iowa State University
 *
 * Original Authors:
 *   Allen Bierbaum, Christopher Just,
 *   Patrick Hartling, Kevin Meinert,
 *   Carolina Cruz-Neira, Albert Baker
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * -----------------------------------------------------------------
 * File:          $RCSfile$
 * Date modified: $Date$
 * Version:       $Revision$
 * -----------------------------------------------------------------
 *
 *************** <auto-copyright.pl END do not edit this line> ***************/



package VjConfig;

import java.io.*;

import VjConfig.ConfigChunkDB;
import VjConfig.ChunkDescDB;
import VjConfig.ChunkFactory;
import VjConfig.ConfigIOStatus;

public interface ConfigIOHandler {

    public void readConfigChunkDB (File file, ConfigChunkDB db,
                                   ConfigIOStatus iostatus);


    public void readConfigChunkDB (InputStream in, ConfigChunkDB db,
                                   ConfigIOStatus iostatus);


    public boolean writeConfigChunkDB (DataOutputStream out, ConfigChunkDB db);

    public boolean writeConfigChunkDB (File file, ConfigChunkDB db);


    public void readChunkDescDB (File file, ChunkDescDB db,
                                 ConfigIOStatus iostatus);


    public void readChunkDescDB (InputStream in, ChunkDescDB db,
                                 ConfigIOStatus iostatus);


    public boolean writeChunkDescDB (DataOutputStream out, ChunkDescDB db);

    public boolean writeChunkDescDB (File file, ChunkDescDB db);


}

Remove the ConfigParserException. Its role has been taken over by the ConfigIOStatus object, which offers better control over error handling and recovery (and more convenient reporting).