net.sf.sevenzipjbinding
Interface IOutArchiveBase

All Known Subinterfaces:
IOutArchive<T>, IOutCreateArchive<T>, IOutCreateArchive7z, IOutCreateArchiveBZip2, IOutCreateArchiveGZip, IOutCreateArchiveTar, IOutCreateArchiveZip, IOutUpdateArchive<T>, IOutUpdateArchive7z, IOutUpdateArchiveBZip2, IOutUpdateArchiveGZip, IOutUpdateArchiveTar, IOutUpdateArchiveZip
All Known Implementing Classes:
OutArchive7zImpl, OutArchiveBZip2Impl, OutArchiveGZipImpl, OutArchiveImpl, OutArchiveTarImpl, OutArchiveZipImpl

public interface IOutArchiveBase

Base interface for compression/update archive main interfaces.

Since:
9.20-2.00
Author:
Boris Brodski

Method Summary
 java.io.PrintStream getTracePrintStream()
          Alternative PrintStream for trace output.
 boolean isTrace()
          If true, print trace message during compress and update operation to the System.out or getTracePrintStream().
 void setTrace(boolean trace)
          If true, print trace message during compress and update operation to the System.out or getTracePrintStream().
 void setTracePrintStream(java.io.PrintStream tracePrintStream)
          Set alternative PrintStream for trace output.
 

Method Detail

setTracePrintStream

void setTracePrintStream(java.io.PrintStream tracePrintStream)
Set alternative PrintStream for trace output. Default: System.out.

Parameters:
tracePrintStream - instance of the PrintStream.
See Also:
setTrace(boolean)

getTracePrintStream

java.io.PrintStream getTracePrintStream()
Alternative PrintStream for trace output. Default: System.out.

Returns:
Alternative PrintStream for trace output
See Also:
setTrace(boolean)

setTrace

void setTrace(boolean trace)
If true, print trace message during compress and update operation to the System.out or getTracePrintStream(). Default: false

Parameters:
trace - true - output trace messages, false be quite.
See Also:
setTracePrintStream(PrintStream)

isTrace

boolean isTrace()
If true, print trace message during compress and update operation to the System.out or getTracePrintStream(). Default: false

Returns:
true - output trace messages, false be quite.
See Also:
setTracePrintStream(PrintStream)