Class GZIPHeader
java.lang.Object
com.codename1.io.gzip.GZIPHeader
See also
- "http://www.ietf.org/rfc/rfc1952.txt"
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()longgetCRC()longgetName()intgetOS()voidsetComment(String comment) voidsetCRC(long crc) voidsetModifiedTime(long mtime) voidvoidsetOS(int os) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.final ClassgetClass()Returns the runtime class of an object.inthashCode()Returns a hash code value for the object.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.toString()Returns a string representation of the object.final voidwait()Causes current thread to wait until another thread invokes the method or the method for this object.final voidwait(long timeout) Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed.final voidwait(long timeout, int nanos) Causes current thread to wait until another thread invokes the method or the method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
-
Field Details
-
OS_MSDOS
public static final byte OS_MSDOS- See Also:
-
OS_AMIGA
public static final byte OS_AMIGA- See Also:
-
OS_VMS
public static final byte OS_VMS- See Also:
-
OS_UNIX
public static final byte OS_UNIX- See Also:
-
OS_ATARI
public static final byte OS_ATARI- See Also:
-
OS_OS2
public static final byte OS_OS2- See Also:
-
OS_MACOS
public static final byte OS_MACOS- See Also:
-
OS_TOPS20
public static final byte OS_TOPS20- See Also:
-
OS_WIN32
public static final byte OS_WIN32- See Also:
-
OS_VMCMS
public static final byte OS_VMCMS- See Also:
-
OS_ZSYSTEM
public static final byte OS_ZSYSTEM- See Also:
-
OS_CPM
public static final byte OS_CPM- See Also:
-
OS_QDOS
public static final byte OS_QDOS- See Also:
-
OS_RISCOS
public static final byte OS_RISCOS- See Also:
-
OS_UNKNOWN
public static final byte OS_UNKNOWN- See Also:
-
-
Constructor Details
-
GZIPHeader
public GZIPHeader()
-
-
Method Details
-
getModifiedTime
public long getModifiedTime() -
setModifiedTime
public void setModifiedTime(long mtime) -
getOS
public int getOS() -
setOS
public void setOS(int os) -
getName
-
setName
-
getComment
-
setComment
-
getCRC
public long getCRC() -
setCRC
public void setCRC(long crc) -
clone
-