GZIPHeader.java   GZIPHeader.java 
skipping to change at line 40 skipping to change at line 40
* This program is based on zlib-1.1.3, so all credit should go authors * This program is based on zlib-1.1.3, so all credit should go authors
* Jean-loup Gailly(jloup@gzip.org) and Mark Adler(madler@alumni.caltech.ed u) * Jean-loup Gailly(jloup@gzip.org) and Mark Adler(madler@alumni.caltech.ed u)
* and contributors of zlib. * and contributors of zlib.
*/ */
package com.jcraft.jzlib; package com.jcraft.jzlib;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
/** /**
* @see "http://www.ietf.org/rfc/rfc1952.txt" * @see <a href="http://www.ietf.org/rfc/rfc1952.txt">http://www.ietf.org/r fc/rfc1952.txt</a>
*/ */
public class GZIPHeader implements Cloneable { public class GZIPHeader implements Cloneable {
public static final byte OS_MSDOS = (byte) 0x00; public static final byte OS_MSDOS = (byte) 0x00;
public static final byte OS_AMIGA = (byte) 0x01; public static final byte OS_AMIGA = (byte) 0x01;
public static final byte OS_VMS = (byte) 0x02; public static final byte OS_VMS = (byte) 0x02;
public static final byte OS_UNIX = (byte) 0x03; public static final byte OS_UNIX = (byte) 0x03;
public static final byte OS_ATARI = (byte) 0x05; public static final byte OS_ATARI = (byte) 0x05;
public static final byte OS_OS2 = (byte) 0x06; public static final byte OS_OS2 = (byte) 0x06;
public static final byte OS_MACOS = (byte) 0x07; public static final byte OS_MACOS = (byte) 0x07;
skipping to change at line 62 skipping to change at line 62
public static final byte OS_WIN32 = (byte) 0x0b; public static final byte OS_WIN32 = (byte) 0x0b;
public static final byte OS_VMCMS = (byte) 0x04; public static final byte OS_VMCMS = (byte) 0x04;
public static final byte OS_ZSYSTEM = (byte) 0x08; public static final byte OS_ZSYSTEM = (byte) 0x08;
public static final byte OS_CPM = (byte) 0x09; public static final byte OS_CPM = (byte) 0x09;
public static final byte OS_QDOS = (byte) 0x0c; public static final byte OS_QDOS = (byte) 0x0c;
public static final byte OS_RISCOS = (byte) 0x0d; public static final byte OS_RISCOS = (byte) 0x0d;
public static final byte OS_UNKNOWN = (byte) 0xff; public static final byte OS_UNKNOWN = (byte) 0xff;
boolean text = false; boolean text = false;
private boolean fhcrc = false; private boolean fhcrc = false;
long time;
int xflags; int xflags;
int os = 255; int os = 255;
byte[] extra; byte[] extra;
byte[] name; byte[] name;
byte[] comment; byte[] comment;
int hcrc; int hcrc;
long crc; long crc;
boolean done = false; boolean done = false;
long mtime = 0; long mtime = 0;
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/