Package net.sf.sevenzipjbinding.impl

Examples of net.sf.sevenzipjbinding.impl.RandomAccessFileInStream


      public void run() {
        try {
          //byte data[] = new byte[65536];
          RandomAccessFile rf = new RandomAccessFile(file, "r");

          arc = SevenZip.openInArchive(null, (IInStream) new RandomAccessFileInStream(rf));
          ISimpleInArchive simpleInArchive = arc.getSimpleInterface();
          ISimpleInArchiveItem realItem = null;

          for (ISimpleInArchiveItem item : simpleInArchive.getArchiveItems()) {
            if (item.getPath().equals(zeName)) {
View Full Code Here


  public SevenZipFile(File f) {
    file = f;
    setLastModified(file.lastModified());
    try {
      RandomAccessFile rf = new RandomAccessFile(f, "r");
      arc = SevenZip.openInArchive(null, (IInStream) new RandomAccessFileInStream(rf));
      ISimpleInArchive simpleInArchive = arc.getSimpleInterface();

      for (ISimpleInArchiveItem item : simpleInArchive.getArchiveItems()) {
        LOGGER.debug("found " + item.getPath() + " in arc " + file.getAbsolutePath());
View Full Code Here

TOP

Related Classes of net.sf.sevenzipjbinding.impl.RandomAccessFileInStream

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.