Package br.com.objectos.way.base.zip

Examples of br.com.objectos.way.base.zip.WayZip


  public List<InputStream> unzip() {
    DataFileLog log = DataFileLog.of(this);

    try {
      WayZip zip = WayZips.unzip(file);

      for (WayZipEntry error : zip.getErrors()) {
        log.error("Could not unzip entry %s", error.getIOException(), error.getName());
      }

      return zip.open();

    } catch (WayZipException e) {
      log.error("Could not open as a ZipFile: %s", e, getPath());
      return ImmutableList.of();
View Full Code Here


  public List<InputStream> unzip() {
    DataFileLog log = DataFileLog.of(this);

    try {
      WayZip zip = WayZips.unzip(file);

      for (WayZipEntry error : zip.getErrors()) {
        log.error("Could not unzip entry %s", error.getIOException(), error.getName());
      }

      return zip.open();

    } catch (WayZipException e) {
      log.error("Could not open as a ZipFile: %s", e, getPath());
      return ImmutableList.of();
View Full Code Here

TOP

Related Classes of br.com.objectos.way.base.zip.WayZip

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.