cz.polous.andaria
Class J7zipArchiveExtractCallback

java.lang.Object
  extended by cz.polous.andaria.J7zipArchiveExtractCallback
All Implemented Interfaces:
SevenZip.Archive.IArchiveExtractCallback, SevenZip.IProgress

public class J7zipArchiveExtractCallback
extends java.lang.Object
implements SevenZip.Archive.IArchiveExtractCallback


Nested Class Summary
(package private)  class J7zipArchiveExtractCallback.OutputStream
           
 
Field Summary
(package private)  SevenZip.Archive.IInArchive _archiveHandler
           
(package private)  java.lang.String _diskFilePath
           
(package private)  boolean _extractMode
           
(package private)  java.lang.String _filePath
           
(package private)  java.io.OutputStream _outFileStream
           
(package private)  boolean isDirectory
           
private  Log log
           
 long NumErrors
           
(package private)  java.lang.String Password
           
(package private)  boolean PasswordIsDefined
           
private  java.lang.String printLine
           
(package private)  java.util.Date starTime
           
 
Constructor Summary
J7zipArchiveExtractCallback()
           
 
Method Summary
 int GetStream(int index, java.io.OutputStream[] outStream, int askExtractMode)
           
 void Init(SevenZip.Archive.IInArchive archiveHandler)
           
 int PrepareOperation(int askExtractMode)
           
 void PrintNewLine()
           
 void PrintString(java.lang.String str)
           
 int SetCompleted(long completeValue)
           
 int SetOperationResult(int operationResult)
           
 int SetTotal(long size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private Log log

printLine

private java.lang.String printLine

_archiveHandler

SevenZip.Archive.IInArchive _archiveHandler

_filePath

java.lang.String _filePath

_diskFilePath

java.lang.String _diskFilePath

NumErrors

public long NumErrors

PasswordIsDefined

boolean PasswordIsDefined

Password

java.lang.String Password

_extractMode

boolean _extractMode

isDirectory

boolean isDirectory

starTime

java.util.Date starTime

_outFileStream

java.io.OutputStream _outFileStream
Constructor Detail

J7zipArchiveExtractCallback

public J7zipArchiveExtractCallback()
Method Detail

SetTotal

public int SetTotal(long size)
Specified by:
SetTotal in interface SevenZip.IProgress

SetCompleted

public int SetCompleted(long completeValue)
Specified by:
SetCompleted in interface SevenZip.IProgress

PrintString

public void PrintString(java.lang.String str)

PrintNewLine

public void PrintNewLine()

PrepareOperation

public int PrepareOperation(int askExtractMode)
Specified by:
PrepareOperation in interface SevenZip.Archive.IArchiveExtractCallback

SetOperationResult

public int SetOperationResult(int operationResult)
                       throws java.io.IOException
Specified by:
SetOperationResult in interface SevenZip.Archive.IArchiveExtractCallback
Throws:
java.io.IOException

GetStream

public int GetStream(int index,
                     java.io.OutputStream[] outStream,
                     int askExtractMode)
              throws java.io.IOException
Specified by:
GetStream in interface SevenZip.Archive.IArchiveExtractCallback
Throws:
java.io.IOException

Init

public void Init(SevenZip.Archive.IInArchive archiveHandler)