Package de.schlichtherle.truezip.zip

Examples of de.schlichtherle.truezip.zip.ZipFile


    public TrueZipZipFileHandle( final File targetFile )
        throws IOException
    {
        super( targetFile );

        this.zipFile = new ZipFile( targetFile );
    }
View Full Code Here


      // Create a new project
      newProject = new MZmineProjectImpl();
      newProject.setProjectFile(openFile);

      // Get project ZIP stream
      ZipFile zipFile = new ZipFile(openFile);

      // Stage 1 - check version and load configuration
      currentStage++;
      loadVersion(zipFile);
      loadConfiguration(zipFile);
      if (isCanceled()) {
        zipFile.close();
        return;
      }

      // Stage 2 - load raw data files
      currentStage++;
      loadRawDataFiles(zipFile);
      if (isCanceled()) {
        zipFile.close();
        return;
      }

      // Stage 3 - load peak lists
      currentStage++;
      loadPeakLists(zipFile);
      if (isCanceled()) {
        zipFile.close();
        return;
      }

      // Stage 4 - load user parameters
      currentStage++;
      loadUserParameters(zipFile);
      if (isCanceled()) {
        zipFile.close();
        return;
      }

      // Stage 5 - finish and close the project ZIP file
      currentStage++;
      zipFile.close();

      // Final check for cancel
      if (isCanceled())
        return;
View Full Code Here

TOP

Related Classes of de.schlichtherle.truezip.zip.ZipFile

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.