Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ClassLib.Common.java.util.zip
Class OutputWindow  view OutputWindow download OutputWindow.java

java.lang.Object
  extended byClassLib.Common.java.util.zip.OutputWindow

class OutputWindow
extends java.lang.Object

OutputWindow

Version:
$Id: OutputWindow.java,v 1.4 2003/05/12 10:04:53 joewhaley Exp $

Field Summary
private  byte[] window
           
private  int window_end
           
private  int window_filled
           
private  int WINDOW_MASK
           
private  int WINDOW_SIZE
           
 
Constructor Summary
(package private) OutputWindow()
           
 
Method Summary
 void copyDict(byte[] dict, int offset, int len)
           
 int copyOutput(byte[] output, int offset, int len)
           
 int copyStored(StreamManipulator input, int len)
           
 int getAvailable()
           
 int getFreeSpace()
           
 void repeat(int len, int dist)
           
 void reset()
           
private  void slowRepeat(int rep_start, int len, int dist)
           
 void write(int abyte)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WINDOW_SIZE

private final int WINDOW_SIZE
See Also:
Constant Field Values

WINDOW_MASK

private final int WINDOW_MASK
See Also:
Constant Field Values

window

private byte[] window

window_end

private int window_end

window_filled

private int window_filled
Constructor Detail

OutputWindow

OutputWindow()
Method Detail

write

public void write(int abyte)

slowRepeat

private final void slowRepeat(int rep_start,
                              int len,
                              int dist)

repeat

public void repeat(int len,
                   int dist)

copyStored

public int copyStored(StreamManipulator input,
                      int len)

copyDict

public void copyDict(byte[] dict,
                     int offset,
                     int len)

getFreeSpace

public int getFreeSpace()

getAvailable

public int getAvailable()

copyOutput

public int copyOutput(byte[] output,
                      int offset,
                      int len)

reset

public void reset()