Package org.netbeans.modules.dbschema.migration.archiver

Examples of org.netbeans.modules.dbschema.migration.archiver.XMLInputStream


            // if the file is empty, the archiver prints an
            // exception, so protect against that case and
            // return null without updating either cache
            if (stream.available() > 0)
            {
              XMLInputStream xmlInput = new XMLInputStream(stream,
                getClass().getClassLoader());

              mappingClass =
                (MappingClassElement)xmlInput.readObject();
              xmlInput.close();

              // postUnarchive performs version number checking
              // and possible format conversions
              mappingClass.postUnarchive();
View Full Code Here


            // if the file is empty, the archiver prints an
            // exception, so protect against that case and
            // return null without updating either cache
            if (stream.available() > 0)
            {
              XMLInputStream xmlInput = new XMLInputStream(stream,
                getClass().getClassLoader());

              mappingClass =
                (MappingClassElement)xmlInput.readObject();
              xmlInput.close();

              // postUnarchive performs version number checking
              // and possible format conversions
              mappingClass.postUnarchive();
View Full Code Here

TOP

Related Classes of org.netbeans.modules.dbschema.migration.archiver.XMLInputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.