META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/commons/
org/apache/commons/compress/
org/apache/commons/compress/archivers/
org/apache/commons/compress/archivers/ar/
org/apache/commons/compress/archivers/cpio/
org/apache/commons/compress/archivers/jar/
org/apache/commons/compress/archivers/tar/
org/apache/commons/compress/archivers/zip/
org/apache/commons/compress/changes/
org/apache/commons/compress/compressors/
org/apache/commons/compress/compressors/bzip2/
org/apache/commons/compress/compressors/gzip/
org/apache/commons/compress/utils/
META-INF/LICENSE.txt
META-INF/NOTICE.txt
org/apache/commons/compress/archivers/ar/ArArchiveEntry.classArArchiveEntry.java
package org.apache.commons.compress.archivers.ar
public org.apache.commons.compress.archivers.ar.ArArchiveEntry extends java.lang.Object implements org.apache.commons.compress.archivers.ArchiveEntry {
public static final String HEADER
public static final String TRAILER
private final String name
private final int userId
private final int groupId
private final int mode
private static final int DEFAULT_MODE
private final long lastModified
private final long length
public void (java.lang.String, long)
String name
long length
public void (java.lang.String, long, int, int, int, long)
String name
long length
int userId
int groupId
int mode
long lastModified
public void (java.io.File, java.lang.String)
java.io.File inputFile
String entryName
public long getSize ()
public java.lang.String getName ()
public int getUserId ()
public int getGroupId ()
public int getMode ()
public long getLastModified ()
public long getLength ()
public boolean isDirectory ()
public int hashCode ()
int prime
int result
public boolean equals (java.lang.Object)
Object obj
org.apache.commons.compress.archivers.ar.ArArchiveEntry other
}
org/apache/commons/compress/archivers/ar/ArArchiveInputStream.classArArchiveInputStream.java
package org.apache.commons.compress.archivers.ar
public org.apache.commons.compress.archivers.ar.ArArchiveInputStream extends org.apache.commons.compress.archivers.ArchiveInputStream {
private final java.io.InputStream input
private long offset
private boolean closed
private org.apache.commons.compress.archivers.ar.ArArchiveEntry currentEntry
private long entryOffset
public void (java.io.InputStream)
java.io.InputStream pInput
public org.apache.commons.compress.archivers.ar.ArArchiveEntry getNextArEntry () throws java.io.IOException
int x
long entryEnd
int i
byte[] expected
byte[] realized
int read
int i
byte[] expected
byte[] realized
int read
byte[] name
byte[] lastmodified
byte[] userid
byte[] groupid
byte[] filemode
byte[] length
String temp
public org.apache.commons.compress.archivers.ArchiveEntry getNextEntry () throws java.io.IOException
public void close () throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
long entryEnd
byte[] b
int off
int len
int toRead
int ret
public static boolean matches (byte[], int)
byte[] signature
int length
}
org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.classArArchiveOutputStream.java
package org.apache.commons.compress.archivers.ar
public org.apache.commons.compress.archivers.ar.ArArchiveOutputStream extends org.apache.commons.compress.archivers.ArchiveOutputStream {
private final java.io.OutputStream out
private long archiveOffset
private long entryOffset
private org.apache.commons.compress.archivers.ar.ArArchiveEntry prevEntry
private boolean haveUnclosedEntry
private boolean finished
public void (java.io.OutputStream)
java.io.OutputStream pOut
private long writeArchiveHeader () throws java.io.IOException
byte[] header
public void closeArchiveEntry () throws java.io.IOException
public void putArchiveEntry (org.apache.commons.compress.archivers.ArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.ArchiveEntry pEntry
org.apache.commons.compress.archivers.ar.ArArchiveEntry pArEntry
private long fill (long, long, char) throws java.io.IOException
int i
long pOffset
long pNewOffset
char pFill
long diff
private long write (java.lang.String) throws java.io.IOException
String data
byte[] bytes
private long writeEntryHeader (org.apache.commons.compress.archivers.ar.ArArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.ar.ArArchiveEntry pEntry
long offset
String n
String m
String u
String g
String fm
String s
public void write (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
public void close () throws java.io.IOException
public org.apache.commons.compress.archivers.ArchiveEntry createArchiveEntry (java.io.File, java.lang.String) throws java.io.IOException
java.io.File inputFile
String entryName
public void finish () throws java.io.IOException
}
org/apache/commons/compress/archivers/ArchiveEntry.classArchiveEntry.java
package org.apache.commons.compress.archivers
public abstract org.apache.commons.compress.archivers.ArchiveEntry extends java.lang.Object {
public static final long SIZE_UNKNOWN
public abstract java.lang.String getName ()
public abstract long getSize ()
public abstract boolean isDirectory ()
}
org/apache/commons/compress/archivers/ArchiveException.classArchiveException.java
package org.apache.commons.compress.archivers
public org.apache.commons.compress.archivers.ArchiveException extends java.lang.Exception {
private static final long serialVersionUID
public void (java.lang.String)
String message
public void (java.lang.String, java.lang.Exception)
String message
Exception cause
}
org/apache/commons/compress/archivers/ArchiveInputStream.classArchiveInputStream.java
package org.apache.commons.compress.archivers
public abstract org.apache.commons.compress.archivers.ArchiveInputStream extends java.io.InputStream {
private byte[] SINGLE
private static final int BYTE_MASK
private int bytesRead
public void ()
public abstract org.apache.commons.compress.archivers.ArchiveEntry getNextEntry () throws java.io.IOException
public int read () throws java.io.IOException
int num
protected void count (int)
int read
public int getCount ()
}
org/apache/commons/compress/archivers/ArchiveOutputStream.classArchiveOutputStream.java
package org.apache.commons.compress.archivers
public abstract org.apache.commons.compress.archivers.ArchiveOutputStream extends java.io.OutputStream {
private final byte[] oneByte
static final int BYTE_MASK
private int bytesRead
public void ()
public abstract void putArchiveEntry (org.apache.commons.compress.archivers.ArchiveEntry) throws java.io.IOException
public abstract void closeArchiveEntry () throws java.io.IOException
public abstract void finish () throws java.io.IOException
public abstract org.apache.commons.compress.archivers.ArchiveEntry createArchiveEntry (java.io.File, java.lang.String) throws java.io.IOException
public void write (int) throws java.io.IOException
int b
protected void count (int)
int read
public int getCount ()
}
org/apache/commons/compress/archivers/ArchiveStreamFactory.classArchiveStreamFactory.java
package org.apache.commons.compress.archivers
public org.apache.commons.compress.archivers.ArchiveStreamFactory extends java.lang.Object {
public void ()
public org.apache.commons.compress.archivers.ArchiveInputStream createArchiveInputStream (java.lang.String, java.io.InputStream) throws org.apache.commons.compress.archivers.ArchiveException
String archiverName
java.io.InputStream in
public org.apache.commons.compress.archivers.ArchiveOutputStream createArchiveOutputStream (java.lang.String, java.io.OutputStream) throws org.apache.commons.compress.archivers.ArchiveException
String archiverName
java.io.OutputStream out
public org.apache.commons.compress.archivers.ArchiveInputStream createArchiveInputStream (java.io.InputStream) throws org.apache.commons.compress.archivers.ArchiveException
int signatureLength
byte[] tarheader
java.io.IOException e
java.io.InputStream in
byte[] signature
}
org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.classCpioArchiveEntry.java
package org.apache.commons.compress.archivers.cpio
public org.apache.commons.compress.archivers.cpio.CpioArchiveEntry extends java.lang.Object implements org.apache.commons.compress.archivers.cpio.CpioConstants org.apache.commons.compress.archivers.ArchiveEntry {
private final short fileFormat
private final int headerSize
private final int alignmentBoundary
private long chksum
private long filesize
private long gid
private long inode
private long maj
private long min
private long mode
private long mtime
private String name
private long nlink
private long rmaj
private long rmin
private long uid
public void (short)
short format
public void (java.lang.String)
String name
public void (java.lang.String, long)
String name
long size
public void (java.io.File, java.lang.String)
java.io.File inputFile
String entryName
long mode
private void checkNewFormat ()
private void checkOldFormat ()
public long getChksum ()
public long getDevice ()
public long getDeviceMaj ()
public long getDeviceMin ()
public long getSize ()
public short getFormat ()
public long getGID ()
public int getHeaderSize ()
public int getAlignmentBoundary ()
public int getHeaderPadCount ()
int size
int remain
public int getDataPadCount ()
long size
int remain
public long getInode ()
public long getMode ()
public java.lang.String getName ()
public long getNumberOfLinks ()
public long getRemoteDevice ()
public long getRemoteDeviceMaj ()
public long getRemoteDeviceMin ()
public long getTime ()
public long getUID ()
public boolean isBlockDevice ()
public boolean isCharacterDevice ()
public boolean isDirectory ()
public boolean isNetwork ()
public boolean isPipe ()
public boolean isRegularFile ()
public boolean isSocket ()
public boolean isSymbolicLink ()
public void setChksum (long)
long chksum
public void setDevice (long)
long device
public void setDeviceMaj (long)
long maj
public void setDeviceMin (long)
long min
public void setSize (long)
long size
public void setGID (long)
long gid
public void setInode (long)
long inode
public void setMode (long)
long mode
long maskedMode
public void setName (java.lang.String)
String name
public void setNumberOfLinks (long)
long nlink
public void setRemoteDevice (long)
long device
public void setRemoteDeviceMaj (long)
long rmaj
public void setRemoteDeviceMin (long)
long rmin
public void setTime (long)
long time
public void setUID (long)
long uid
public int hashCode ()
int prime
int result
public boolean equals (java.lang.Object)
Object obj
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry other
}
org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.classCpioArchiveInputStream.java
package org.apache.commons.compress.archivers.cpio
public org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream extends org.apache.commons.compress.archivers.ArchiveInputStream implements org.apache.commons.compress.archivers.cpio.CpioConstants {
private boolean closed
private org.apache.commons.compress.archivers.cpio.CpioArchiveEntry entry
private long entryBytesRead
private boolean entryEOF
private final byte[] tmpbuf
private long crc
private final java.io.InputStream in
public void (java.io.InputStream)
java.io.InputStream in
public int available () throws java.io.IOException
public void close () throws java.io.IOException
private void closeEntry () throws java.io.IOException
private void ensureOpen () throws java.io.IOException
public org.apache.commons.compress.archivers.cpio.CpioArchiveEntry getNextCPIOEntry () throws java.io.IOException
byte[] more_magic
byte[] tmp
String magicString
byte[] magic
private void skip (int) throws java.io.IOException
int bytes
byte[] buff
public int read (byte[], int, int) throws java.io.IOException
int pos
byte[] b
int off
int len
int tmplength
int tmpread
private final int readFully (byte[], int, int) throws java.io.IOException
int count
byte[] b
int off
int len
int n
private long readBinaryLong (int, boolean) throws java.io.IOException
int length
boolean swapHalfWord
byte[] tmp
private long readAsciiLong (int, int) throws java.io.IOException
int length
int radix
byte[] tmpBuffer
private org.apache.commons.compress.archivers.cpio.CpioArchiveEntry readNewEntry (boolean) throws java.io.IOException
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry ret
boolean hasCrc
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry ret
long mode
long namesize
String name
private org.apache.commons.compress.archivers.cpio.CpioArchiveEntry readOldAsciiEntry () throws java.io.IOException
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry ret
long mode
long namesize
String name
private org.apache.commons.compress.archivers.cpio.CpioArchiveEntry readOldBinaryEntry (boolean) throws java.io.IOException
boolean swapHalfWord
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry ret
long mode
long namesize
String name
private java.lang.String readCString (int) throws java.io.IOException
int length
byte[] tmpBuffer
public long skip (long) throws java.io.IOException
int len
long n
int max
int total
public org.apache.commons.compress.archivers.ArchiveEntry getNextEntry () throws java.io.IOException
public static boolean matches (byte[], int)
byte[] signature
int length
}
org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.classCpioArchiveOutputStream.java
package org.apache.commons.compress.archivers.cpio
public org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream extends org.apache.commons.compress.archivers.ArchiveOutputStream implements org.apache.commons.compress.archivers.cpio.CpioConstants {
private org.apache.commons.compress.archivers.cpio.CpioArchiveEntry entry
private boolean closed
private boolean finished
private final short entryFormat
private final java.util.HashMap names
private long crc
private long written
private final java.io.OutputStream out
public void (java.io.OutputStream, short)
java.io.OutputStream out
short format
public void (java.io.OutputStream)
java.io.OutputStream out
private void ensureOpen () throws java.io.IOException
public void putArchiveEntry (org.apache.commons.compress.archivers.ArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.ArchiveEntry entry
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry e
short format
private void writeHeader (org.apache.commons.compress.archivers.cpio.CpioArchiveEntry) throws java.io.IOException
boolean swapHalfWord
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry e
private void writeNewEntry (org.apache.commons.compress.archivers.cpio.CpioArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry entry
private void writeOldAsciiEntry (org.apache.commons.compress.archivers.cpio.CpioArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry entry
private void writeOldBinaryEntry (org.apache.commons.compress.archivers.cpio.CpioArchiveEntry, boolean) throws java.io.IOException
org.apache.commons.compress.archivers.cpio.CpioArchiveEntry entry
boolean swapHalfWord
public void closeArchiveEntry () throws java.io.IOException
public void write (byte[], int, int) throws java.io.IOException
int pos
byte[] b
int off
int len
public void finish () throws java.io.IOException
public void close () throws java.io.IOException
private void pad (int) throws java.io.IOException
byte[] buff
int count
private void writeBinaryLong (long, int, boolean) throws java.io.IOException
long number
int length
boolean swapHalfWord
byte[] tmp
private void writeAsciiLong (long, int, int) throws java.io.IOException
int pos
long insertLength
String tmpStr
long number
int length
int radix
StringBuffer tmp
String tmpStr
private void writeCString (java.lang.String) throws java.io.IOException
String str
public org.apache.commons.compress.archivers.ArchiveEntry createArchiveEntry (java.io.File, java.lang.String) throws java.io.IOException
java.io.File inputFile
String entryName
}
org/apache/commons/compress/archivers/cpio/CpioConstants.classCpioConstants.java
package org.apache.commons.compress.archivers.cpio
public abstract org.apache.commons.compress.archivers.cpio.CpioConstants extends java.lang.Object {
public static final String MAGIC_NEW
public static final String MAGIC_NEW_CRC
public static final String MAGIC_OLD_ASCII
public static final int MAGIC_OLD_BINARY
public static final short FORMAT_NEW
public static final short FORMAT_NEW_CRC
public static final short FORMAT_OLD_ASCII
public static final short FORMAT_OLD_BINARY
public static final short FORMAT_NEW_MASK
public static final short FORMAT_OLD_MASK
public static final int S_IFMT
public static final int C_ISSOCK
public static final int C_ISLNK
public static final int C_ISNWK
public static final int C_ISREG
public static final int C_ISBLK
public static final int C_ISDIR
public static final int C_ISCHR
public static final int C_ISFIFO
public static final int C_ISUID
public static final int C_ISGID
public static final int C_ISVTX
public static final int C_IRUSR
public static final int C_IWUSR
public static final int C_IXUSR
public static final int C_IRGRP
public static final int C_IWGRP
public static final int C_IXGRP
public static final int C_IROTH
public static final int C_IWOTH
public static final int C_IXOTH
public static final String CPIO_TRAILER
}
org/apache/commons/compress/archivers/cpio/CpioUtil.classCpioUtil.java
package org.apache.commons.compress.archivers.cpio
org.apache.commons.compress.archivers.cpio.CpioUtil extends java.lang.Object {
void ()
static long byteArray2long (byte[], boolean)
byte tmp
byte[] number
boolean swapHalfWord
long ret
int pos
byte[] tmp_number
static byte[] long2byteArray (long, int, boolean)
byte tmp
long number
int length
boolean swapHalfWord
byte[] ret
int pos
long tmp_number
}
org/apache/commons/compress/archivers/jar/JarArchiveEntry.classJarArchiveEntry.java
package org.apache.commons.compress.archivers.jar
public org.apache.commons.compress.archivers.jar.JarArchiveEntry extends org.apache.commons.compress.archivers.zip.ZipArchiveEntry implements org.apache.commons.compress.archivers.ArchiveEntry {
private java.util.jar.Attributes manifestAttributes
private java.security.cert.Certificate[] certificates
public void (java.util.zip.ZipEntry) throws java.util.zip.ZipException
java.util.zip.ZipEntry entry
public void (java.lang.String)
String name
public void (org.apache.commons.compress.archivers.zip.ZipArchiveEntry) throws java.util.zip.ZipException
org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry
public void (java.util.jar.JarEntry) throws java.util.zip.ZipException
java.util.jar.JarEntry entry
public java.util.jar.Attributes getManifestAttributes ()
public java.security.cert.Certificate[] getCertificates ()
java.security.cert.Certificate[] certs
public boolean equals (java.lang.Object)
Object obj
public int hashCode ()
}
org/apache/commons/compress/archivers/jar/JarArchiveInputStream.classJarArchiveInputStream.java
package org.apache.commons.compress.archivers.jar
public org.apache.commons.compress.archivers.jar.JarArchiveInputStream extends org.apache.commons.compress.archivers.zip.ZipArchiveInputStream {
public void (java.io.InputStream)
java.io.InputStream inputStream
public org.apache.commons.compress.archivers.jar.JarArchiveEntry getNextJarEntry () throws java.io.IOException
org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry
public org.apache.commons.compress.archivers.ArchiveEntry getNextEntry () throws java.io.IOException
public static boolean matches (byte[], int)
byte[] signature
int length
}
org/apache/commons/compress/archivers/jar/JarArchiveOutputStream.classJarArchiveOutputStream.java
package org.apache.commons.compress.archivers.jar
public org.apache.commons.compress.archivers.jar.JarArchiveOutputStream extends org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream {
private boolean jarMarkerAdded
public void (java.io.OutputStream)
java.io.OutputStream out
public void putArchiveEntry (org.apache.commons.compress.archivers.ArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.ArchiveEntry ze
}
org/apache/commons/compress/archivers/tar/TarArchiveEntry.classTarArchiveEntry.java
package org.apache.commons.compress.archivers.tar
public org.apache.commons.compress.archivers.tar.TarArchiveEntry extends java.lang.Object implements org.apache.commons.compress.archivers.tar.TarConstants org.apache.commons.compress.archivers.ArchiveEntry {
private String name
private int mode
private int userId
private int groupId
private long size
private long modTime
private byte linkFlag
private String linkName
private String magic
private String version
private String userName
private String groupName
private int devMajor
private int devMinor
private java.io.File file
public static final int MAX_NAMELEN
public static final int DEFAULT_DIR_MODE
public static final int DEFAULT_FILE_MODE
public static final int MILLIS_PER_SECOND
private void ()
String user
public void (java.lang.String)
String name
boolean isDir
public void (java.lang.String, byte)
String name
byte linkFlag
public void (java.io.File)
java.io.File file
public void (java.io.File, java.lang.String)
int nameLength
java.io.File file
String fileName
public void (byte[])
byte[] headerBuf
public boolean equals (org.apache.commons.compress.archivers.tar.TarArchiveEntry)
org.apache.commons.compress.archivers.tar.TarArchiveEntry it
public boolean equals (java.lang.Object)
Object it
public int hashCode ()
public boolean isDescendent (org.apache.commons.compress.archivers.tar.TarArchiveEntry)
org.apache.commons.compress.archivers.tar.TarArchiveEntry desc
public java.lang.String getName ()
public void setName (java.lang.String)
String name
public void setMode (int)
int mode
public java.lang.String getLinkName ()
public int getUserId ()
public void setUserId (int)
int userId
public int getGroupId ()
public void setGroupId (int)
int groupId
public java.lang.String getUserName ()
public void setUserName (java.lang.String)
String userName
public java.lang.String getGroupName ()
public void setGroupName (java.lang.String)
String groupName
public void setIds (int, int)
int userId
int groupId
public void setNames (java.lang.String, java.lang.String)
String userName
String groupName
public void setModTime (long)
long time
public void setModTime (java.util.Date)
java.util.Date time
public java.util.Date getModTime ()
public java.io.File getFile ()
public int getMode ()
public long getSize ()
public void setSize (long)
long size
public boolean isGNULongNameEntry ()
public boolean isDirectory ()
public org.apache.commons.compress.archivers.tar.TarArchiveEntry[] getDirectoryEntries ()
int i
String[] list
org.apache.commons.compress.archivers.tar.TarArchiveEntry[] result
public void writeEntryHeader (byte[])
int c
byte[] outbuf
int offset
int csOffset
long chk
public void parseTarHeader (byte[])
byte[] header
int offset
private static java.lang.String normalizeFileName (java.lang.String)
char ch1
char ch2
int colon
String fileName
String osname
}
org/apache/commons/compress/archivers/tar/TarArchiveInputStream.classTarArchiveInputStream.java
package org.apache.commons.compress.archivers.tar
public org.apache.commons.compress.archivers.tar.TarArchiveInputStream extends org.apache.commons.compress.archivers.ArchiveInputStream {
private static final int SMALL_BUFFER_SIZE
private static final int BUFFER_SIZE
private boolean hasHitEOF
private long entrySize
private long entryOffset
private byte[] readBuf
protected final org.apache.commons.compress.archivers.tar.TarBuffer buffer
private org.apache.commons.compress.archivers.tar.TarArchiveEntry currEntry
public void (java.io.InputStream)
java.io.InputStream is
public void (java.io.InputStream, int)
java.io.InputStream is
int blockSize
public void (java.io.InputStream, int, int)
java.io.InputStream is
int blockSize
int recordSize
public void close () throws java.io.IOException
public int getRecordSize ()
public int available () throws java.io.IOException
public long skip (long) throws java.io.IOException
int realSkip
int numRead
long numToSkip
byte[] skipBuf
long skip
public void reset ()
public org.apache.commons.compress.archivers.tar.TarArchiveEntry getNextTarEntry () throws java.io.IOException
long skipped
long numToSkip
StringBuffer longName
byte[] buf
int length
byte[] headerBuf
public org.apache.commons.compress.archivers.ArchiveEntry getNextEntry () throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
int newLen
byte[] newBuf
int sz
byte[] rec
int sz
int recLen
byte[] buf
int offset
int numToRead
int totalRead
protected final org.apache.commons.compress.archivers.tar.TarArchiveEntry getCurrentEntry ()
protected final void setCurrentEntry (org.apache.commons.compress.archivers.tar.TarArchiveEntry)
org.apache.commons.compress.archivers.tar.TarArchiveEntry e
protected final boolean isAtEOF ()
protected final void setAtEOF (boolean)
boolean b
public static boolean matches (byte[], int)
byte[] signature
int length
}
org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.classTarArchiveOutputStream.java
package org.apache.commons.compress.archivers.tar
public org.apache.commons.compress.archivers.tar.TarArchiveOutputStream extends org.apache.commons.compress.archivers.ArchiveOutputStream {
public static final int LONGFILE_ERROR
public static final int LONGFILE_TRUNCATE
public static final int LONGFILE_GNU
private long currSize
private String currName
private long currBytes
private final byte[] recordBuf
private int assemLen
private final byte[] assemBuf
protected final org.apache.commons.compress.archivers.tar.TarBuffer buffer
private int longFileMode
private boolean closed
private boolean haveUnclosedEntry
private boolean finished
private final java.io.OutputStream out
public void (java.io.OutputStream)
java.io.OutputStream os
public void (java.io.OutputStream, int)
java.io.OutputStream os
int blockSize
public void (java.io.OutputStream, int, int)
java.io.OutputStream os
int blockSize
int recordSize
public void setLongFileMode (int)
int longFileMode
public void finish () throws java.io.IOException
public void close () throws java.io.IOException
public int getRecordSize ()
public void putArchiveEntry (org.apache.commons.compress.archivers.ArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.tar.TarArchiveEntry longLinkEntry
byte[] nameBytes
org.apache.commons.compress.archivers.ArchiveEntry archiveEntry
org.apache.commons.compress.archivers.tar.TarArchiveEntry entry
public void closeArchiveEntry () throws java.io.IOException
int i
public void write (byte[], int, int) throws java.io.IOException
int aLen
int num
byte[] wBuf
int wOffset
int numToWrite
private void writeEOFRecord () throws java.io.IOException
int i
public void flush () throws java.io.IOException
public org.apache.commons.compress.archivers.ArchiveEntry createArchiveEntry (java.io.File, java.lang.String) throws java.io.IOException
java.io.File inputFile
String entryName
}
org/apache/commons/compress/archivers/tar/TarBuffer.classTarBuffer.java
package org.apache.commons.compress.archivers.tar
org.apache.commons.compress.archivers.tar.TarBuffer extends java.lang.Object {
public static final int DEFAULT_RCDSIZE
public static final int DEFAULT_BLKSIZE
private java.io.InputStream inStream
private java.io.OutputStream outStream
private byte[] blockBuffer
private int currBlkIdx
private int currRecIdx
private int blockSize
private int recordSize
private int recsPerBlock
public void (java.io.InputStream)
java.io.InputStream inStream
public void (java.io.InputStream, int)
java.io.InputStream inStream
int blockSize
public void (java.io.InputStream, int, int)
java.io.InputStream inStream
int blockSize
int recordSize
public void (java.io.OutputStream)
java.io.OutputStream outStream
public void (java.io.OutputStream, int)
java.io.OutputStream outStream
int blockSize
public void (java.io.OutputStream, int, int)
java.io.OutputStream outStream
int blockSize
int recordSize
private void initialize (int, int)
int blockSize
int recordSize
public int getBlockSize ()
public int getRecordSize ()
public boolean isEOFRecord (byte[])
int i
int sz
byte[] record
public void skipRecord () throws java.io.IOException
public byte[] readRecord () throws java.io.IOException
byte[] result
private boolean readBlock () throws java.io.IOException
long numBytes
int offset
int bytesNeeded
public int getCurrentBlockNum ()
public int getCurrentRecordNum ()
public void writeRecord (byte[]) throws java.io.IOException
byte[] record
public void writeRecord (byte[], int) throws java.io.IOException
byte[] buf
int offset
private void writeBlock () throws java.io.IOException
private void flushBlock () throws java.io.IOException
public void close () throws java.io.IOException
}
org/apache/commons/compress/archivers/tar/TarConstants.classTarConstants.java
package org.apache.commons.compress.archivers.tar
public abstract org.apache.commons.compress.archivers.tar.TarConstants extends java.lang.Object {
public static final int NAMELEN
public static final int MODELEN
public static final int UIDLEN
public static final int GIDLEN
public static final int CHKSUMLEN
public static final int SIZELEN
public static final long MAXSIZE
public static final int MAGIC_OFFSET
public static final int MAGICLEN
public static final int VERSION_OFFSET
public static final int VERSIONLEN
public static final int MODTIMELEN
public static final int UNAMELEN
public static final int GNAMELEN
public static final int DEVLEN
public static final int PREFIXLEN
public static final byte LF_OLDNORM
public static final byte LF_NORMAL
public static final byte LF_LINK
public static final byte LF_SYMLINK
public static final byte LF_CHR
public static final byte LF_BLK
public static final byte LF_DIR
public static final byte LF_FIFO
public static final byte LF_CONTIG
public static final String MAGIC_POSIX
public static final String VERSION_POSIX
public static final String MAGIC_GNU
public static final String VERSION_GNU_SPACE
public static final String VERSION_GNU_ZERO
public static final String GNU_LONGLINK
public static final byte LF_GNUTYPE_LONGNAME
}
org/apache/commons/compress/archivers/tar/TarUtils.classTarUtils.java
package org.apache.commons.compress.archivers.tar
public org.apache.commons.compress.archivers.tar.TarUtils extends java.lang.Object {
private static final int BYTE_MASK
private void ()
public static long parseOctal (byte[], int, int)
byte currentByte
int i
byte[] buffer
int offset
int length
long result
boolean stillPadding
int end
public static java.lang.String parseName (byte[], int, int)
int i
byte[] buffer
int offset
int length
StringBuffer result
int end
public static int formatNameBytes (java.lang.String, byte[], int, int)
String name
byte[] buf
int offset
int length
int i
public static void formatUnsignedOctalString (long, byte[], int, int)
long val
long value
byte[] buffer
int offset
int length
int remaining
public static int formatOctalBytes (long, byte[], int, int)
long value
byte[] buf
int offset
int length
int idx
public static int formatLongOctalBytes (long, byte[], int, int)
long value
byte[] buf
int offset
int length
int idx
public static int formatCheckSumOctalBytes (long, byte[], int, int)
long value
byte[] buf
int offset
int length
int idx
public static long computeCheckSum (byte[])
int i
byte[] buf
long sum
}
org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.classAbstractUnicodeExtraField.java
package org.apache.commons.compress.archivers.zip
public abstract org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField extends java.lang.Object implements org.apache.commons.compress.archivers.zip.ZipExtraField {
private long nameCRC32
private byte[] unicodeName
private byte[] data
protected void ()
protected void (java.lang.String, byte[], int, int)
java.io.UnsupportedEncodingException e
String text
byte[] bytes
int off
int len
java.util.zip.CRC32 crc32
protected void (java.lang.String, byte[])
String text
byte[] bytes
private void assembleData ()
public long getNameCRC32 ()
public void setNameCRC32 (long)
long nameCRC32
public byte[] getUnicodeName ()
public void setUnicodeName (byte[])
byte[] unicodeName
public byte[] getCentralDirectoryData ()
public org.apache.commons.compress.archivers.zip.ZipShort getCentralDirectoryLength ()
public byte[] getLocalFileDataData ()
public org.apache.commons.compress.archivers.zip.ZipShort getLocalFileDataLength ()
public void parseFromLocalFileData (byte[], int, int) throws java.util.zip.ZipException
byte[] buffer
int offset
int length
int version
public void parseFromCentralDirectoryData (byte[], int, int) throws java.util.zip.ZipException
byte[] buffer
int offset
int length
}
org/apache/commons/compress/archivers/zip/AsiExtraField.classAsiExtraField.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.AsiExtraField extends java.lang.Object implements org.apache.commons.compress.archivers.zip.ZipExtraField org.apache.commons.compress.archivers.zip.UnixStat java.lang.Cloneable {
private static final org.apache.commons.compress.archivers.zip.ZipShort HEADER_ID
private static final int WORD
private int mode
private int uid
private int gid
private String link
private boolean dirFlag
private java.util.zip.CRC32 crc
public void ()
public org.apache.commons.compress.archivers.zip.ZipShort getHeaderId ()
public org.apache.commons.compress.archivers.zip.ZipShort getLocalFileDataLength ()
public org.apache.commons.compress.archivers.zip.ZipShort getCentralDirectoryLength ()
public byte[] getLocalFileDataData ()
byte[] data
byte[] linkArray
long checksum
byte[] result
public byte[] getCentralDirectoryData ()
public void setUserId (int)
int uid
public int getUserId ()
public void setGroupId (int)
int gid
public int getGroupId ()
public void setLinkedFile (java.lang.String)
String name
public java.lang.String getLinkedFile ()
public boolean isLink ()
public void setMode (int)
int mode
public int getMode ()
public void setDirectory (boolean)
boolean dirFlag
public boolean isDirectory ()
public void parseFromLocalFileData (byte[], int, int) throws java.util.zip.ZipException
byte[] data
int offset
int length
long givenChecksum
byte[] tmp
long realChecksum
int newMode
byte[] linkArray
public void parseFromCentralDirectoryData (byte[], int, int) throws java.util.zip.ZipException
byte[] buffer
int offset
int length
protected int getMode (int)
int mode
int type
public java.lang.Object clone ()
org.apache.commons.compress.archivers.zip.AsiExtraField cloned
CloneNotSupportedException cnfe
static void ()
}
org/apache/commons/compress/archivers/zip/ExtraFieldUtils.classExtraFieldUtils.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.ExtraFieldUtils extends java.lang.Object {
private static final int WORD
private static final java.util.Map implementations
static Class class$org$apache$commons$compress$archivers$zip$AsiExtraField
static Class class$org$apache$commons$compress$archivers$zip$JarMarker
static Class class$org$apache$commons$compress$archivers$zip$UnicodePathExtraField
static Class class$org$apache$commons$compress$archivers$zip$UnicodeCommentExtraField
public void ()
public static void register (java.lang.Class)
org.apache.commons.compress.archivers.zip.ZipExtraField ze
ClassCastException cc
InstantiationException ie
IllegalAccessException ie
Class c
public static org.apache.commons.compress.archivers.zip.ZipExtraField createExtraField (org.apache.commons.compress.archivers.zip.ZipShort) throws java.lang.InstantiationException java.lang.IllegalAccessException
org.apache.commons.compress.archivers.zip.ZipShort headerId
Class c
org.apache.commons.compress.archivers.zip.UnrecognizedExtraField u
public static org.apache.commons.compress.archivers.zip.ZipExtraField[] parse (byte[]) throws java.util.zip.ZipException
byte[] data
public static org.apache.commons.compress.archivers.zip.ZipExtraField[] parse (byte[], boolean) throws java.util.zip.ZipException
org.apache.commons.compress.archivers.zip.ZipExtraField ze
InstantiationException ie
IllegalAccessException iae
org.apache.commons.compress.archivers.zip.ZipShort headerId
int length
byte[] data
boolean local
java.util.List v
int start
org.apache.commons.compress.archivers.zip.ZipExtraField[] result
public static byte[] mergeLocalFileDataData (org.apache.commons.compress.archivers.zip.ZipExtraField[])
int i
byte[] local
int i
org.apache.commons.compress.archivers.zip.ZipExtraField[] data
int sum
byte[] result
int start
public static byte[] mergeCentralDirectoryData (org.apache.commons.compress.archivers.zip.ZipExtraField[])
int i
byte[] local
int i
org.apache.commons.compress.archivers.zip.ZipExtraField[] data
int sum
byte[] result
int start
static java.lang.Class class$ (java.lang.String)
ClassNotFoundException x1
String x0
static void ()
}
org/apache/commons/compress/archivers/zip/FallbackZipEncoding.classFallbackZipEncoding.java
package org.apache.commons.compress.archivers.zip
org.apache.commons.compress.archivers.zip.FallbackZipEncoding extends java.lang.Object implements org.apache.commons.compress.archivers.zip.ZipEncoding {
private final String charset
public void ()
public void (java.lang.String)
String charset
public boolean canEncode (java.lang.String)
String name
public java.nio.ByteBuffer encode (java.lang.String) throws java.io.IOException
String name
public java.lang.String decode (byte[]) throws java.io.IOException
byte[] data
}
org/apache/commons/compress/archivers/zip/JarMarker.classJarMarker.java
package org.apache.commons.compress.archivers.zip
public final org.apache.commons.compress.archivers.zip.JarMarker extends java.lang.Object implements org.apache.commons.compress.archivers.zip.ZipExtraField {
private static final org.apache.commons.compress.archivers.zip.ZipShort ID
private static final org.apache.commons.compress.archivers.zip.ZipShort NULL
private static final byte[] NO_BYTES
private static final org.apache.commons.compress.archivers.zip.JarMarker DEFAULT
public void ()
public static org.apache.commons.compress.archivers.zip.JarMarker getInstance ()
public org.apache.commons.compress.archivers.zip.ZipShort getHeaderId ()
public org.apache.commons.compress.archivers.zip.ZipShort getLocalFileDataLength ()
public org.apache.commons.compress.archivers.zip.ZipShort getCentralDirectoryLength ()
public byte[] getLocalFileDataData ()
public byte[] getCentralDirectoryData ()
public void parseFromLocalFileData (byte[], int, int) throws java.util.zip.ZipException
byte[] data
int offset
int length
public void parseFromCentralDirectoryData (byte[], int, int) throws java.util.zip.ZipException
byte[] buffer
int offset
int length
static void ()
}
org/apache/commons/compress/archivers/zip/NioZipEncoding.classNioZipEncoding.java
package org.apache.commons.compress.archivers.zip
org.apache.commons.compress.archivers.zip.NioZipEncoding extends java.lang.Object implements org.apache.commons.compress.archivers.zip.ZipEncoding {
private final java.nio.charset.Charset charset
public void (java.nio.charset.Charset)
java.nio.charset.Charset charset
public boolean canEncode (java.lang.String)
String name
java.nio.charset.CharsetEncoder enc
public java.nio.ByteBuffer encode (java.lang.String)
int i
java.nio.charset.CoderResult res
String name
java.nio.charset.CharsetEncoder enc
java.nio.CharBuffer cb
java.nio.ByteBuffer out
public java.lang.String decode (byte[]) throws java.io.IOException
byte[] data
}
org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding$Simple8BitChar.classSimple8BitZipEncoding.java
package org.apache.commons.compress.archivers.zip
final org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding$Simple8BitChar extends java.lang.Object implements java.lang.Comparable {
public final char unicode
public final byte code
void (byte, char)
byte code
char unicode
public int compareTo (java.lang.Object)
Object o
org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding$Simple8BitChar a
public java.lang.String toString ()
}
org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding.classSimple8BitZipEncoding.java
package org.apache.commons.compress.archivers.zip
org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding extends java.lang.Object implements org.apache.commons.compress.archivers.zip.ZipEncoding {
private final char[] highChars
private final java.util.List reverseMapping
public void (char[])
int i
char[] highChars
java.util.List temp
byte code
public char decodeByte (byte)
byte b
public boolean canEncodeChar (char)
char c
org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding$Simple8BitChar r
public boolean pushEncodedChar (java.nio.ByteBuffer, char)
java.nio.ByteBuffer bb
char c
org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding$Simple8BitChar r
private org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding$Simple8BitChar encodeHighChar (char)
int i
org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding$Simple8BitChar m
char c
int i0
int i1
org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding$Simple8BitChar r
public boolean canEncode (java.lang.String)
char c
int i
String name
public java.nio.ByteBuffer encode (java.lang.String)
char c
int i
String name
java.nio.ByteBuffer out
public java.lang.String decode (byte[]) throws java.io.IOException
int i
byte[] data
char[] ret
}
org/apache/commons/compress/archivers/zip/UnicodeCommentExtraField.classUnicodeCommentExtraField.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField extends org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField {
public static final org.apache.commons.compress.archivers.zip.ZipShort UCOM_ID
public void ()
public void (java.lang.String, byte[], int, int)
String text
byte[] bytes
int off
int len
public void (java.lang.String, byte[])
String comment
byte[] bytes
public org.apache.commons.compress.archivers.zip.ZipShort getHeaderId ()
static void ()
}
org/apache/commons/compress/archivers/zip/UnicodePathExtraField.classUnicodePathExtraField.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.UnicodePathExtraField extends org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField {
public static final org.apache.commons.compress.archivers.zip.ZipShort UPATH_ID
public void ()
public void (java.lang.String, byte[], int, int)
String text
byte[] bytes
int off
int len
public void (java.lang.String, byte[])
String name
byte[] bytes
public org.apache.commons.compress.archivers.zip.ZipShort getHeaderId ()
static void ()
}
org/apache/commons/compress/archivers/zip/UnixStat.classUnixStat.java
package org.apache.commons.compress.archivers.zip
public abstract org.apache.commons.compress.archivers.zip.UnixStat extends java.lang.Object {
public static final int PERM_MASK
public static final int LINK_FLAG
public static final int FILE_FLAG
public static final int DIR_FLAG
public static final int DEFAULT_LINK_PERM
public static final int DEFAULT_DIR_PERM
public static final int DEFAULT_FILE_PERM
}
org/apache/commons/compress/archivers/zip/UnrecognizedExtraField.classUnrecognizedExtraField.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.UnrecognizedExtraField extends java.lang.Object implements org.apache.commons.compress.archivers.zip.ZipExtraField {
private org.apache.commons.compress.archivers.zip.ZipShort headerId
private byte[] localData
private byte[] centralData
public void ()
public void setHeaderId (org.apache.commons.compress.archivers.zip.ZipShort)
org.apache.commons.compress.archivers.zip.ZipShort headerId
public org.apache.commons.compress.archivers.zip.ZipShort getHeaderId ()
public void setLocalFileDataData (byte[])
byte[] data
public org.apache.commons.compress.archivers.zip.ZipShort getLocalFileDataLength ()
public byte[] getLocalFileDataData ()
public void setCentralDirectoryData (byte[])
byte[] data
public org.apache.commons.compress.archivers.zip.ZipShort getCentralDirectoryLength ()
public byte[] getCentralDirectoryData ()
public void parseFromLocalFileData (byte[], int, int)
byte[] data
int offset
int length
byte[] tmp
public void parseFromCentralDirectoryData (byte[], int, int)
byte[] data
int offset
int length
byte[] tmp
private static byte[] copy (byte[])
byte[] to
byte[] from
}
org/apache/commons/compress/archivers/zip/ZipArchiveEntry.classZipArchiveEntry.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.ZipArchiveEntry extends java.util.zip.ZipEntry implements org.apache.commons.compress.archivers.ArchiveEntry java.lang.Cloneable {
public static final int PLATFORM_UNIX
public static final int PLATFORM_FAT
private static final int SHORT_MASK
private static final int SHORT_SHIFT
private int internalAttributes
private int platform
private long externalAttributes
private java.util.LinkedHashMap extraFields
private String name
public void (java.lang.String)
String name
public void (java.util.zip.ZipEntry) throws java.util.zip.ZipException
java.util.zip.ZipEntry entry
byte[] extra
public void (org.apache.commons.compress.archivers.zip.ZipArchiveEntry) throws java.util.zip.ZipException
org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry
protected void ()
public void (java.io.File, java.lang.String)
java.io.File inputFile
String entryName
public java.lang.Object clone ()
org.apache.commons.compress.archivers.zip.ZipArchiveEntry e
public int getInternalAttributes ()
public void setInternalAttributes (int)
int value
public long getExternalAttributes ()
public void setExternalAttributes (long)
long value
public void setUnixMode (int)
int mode
public int getUnixMode ()
public int getPlatform ()
protected void setPlatform (int)
int platform
public void setExtraFields (org.apache.commons.compress.archivers.zip.ZipExtraField[])
int i
org.apache.commons.compress.archivers.zip.ZipExtraField[] fields
public org.apache.commons.compress.archivers.zip.ZipExtraField[] getExtraFields ()
org.apache.commons.compress.archivers.zip.ZipExtraField[] result
public void addExtraField (org.apache.commons.compress.archivers.zip.ZipExtraField)
org.apache.commons.compress.archivers.zip.ZipExtraField ze
public void addAsFirstExtraField (org.apache.commons.compress.archivers.zip.ZipExtraField)
org.apache.commons.compress.archivers.zip.ZipExtraField ze
java.util.LinkedHashMap copy
public void removeExtraField (org.apache.commons.compress.archivers.zip.ZipShort)
org.apache.commons.compress.archivers.zip.ZipShort type
public org.apache.commons.compress.archivers.zip.ZipExtraField getExtraField (org.apache.commons.compress.archivers.zip.ZipShort)
org.apache.commons.compress.archivers.zip.ZipShort type
public void setExtra (byte[]) throws java.lang.RuntimeException
org.apache.commons.compress.archivers.zip.ZipExtraField[] local
java.util.zip.ZipException e
byte[] extra
protected void setExtra ()
public void setCentralDirectoryExtra (byte[])
org.apache.commons.compress.archivers.zip.ZipExtraField[] central
java.util.zip.ZipException e
byte[] b
public byte[] getLocalFileDataExtra ()
byte[] extra
public byte[] getCentralDirectoryExtra ()
public java.lang.String getName ()
public boolean isDirectory ()
protected void setName (java.lang.String)
String name
public int hashCode ()
private void mergeExtraFields (org.apache.commons.compress.archivers.zip.ZipExtraField[], boolean) throws java.util.zip.ZipException
byte[] b
byte[] b
org.apache.commons.compress.archivers.zip.ZipExtraField existing
int i
org.apache.commons.compress.archivers.zip.ZipExtraField[] f
boolean local
public boolean equals (java.lang.Object)
Object obj
org.apache.commons.compress.archivers.zip.ZipArchiveEntry other
}
org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.classZipArchiveInputStream.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.ZipArchiveInputStream extends org.apache.commons.compress.archivers.ArchiveInputStream {
private static final int SHORT
private static final int WORD
private final org.apache.commons.compress.archivers.zip.ZipEncoding zipEncoding
private final boolean useUnicodeExtraFields
private final java.io.InputStream in
private final java.util.zip.Inflater inf
private final java.util.zip.CRC32 crc
private final byte[] buf
private org.apache.commons.compress.archivers.zip.ZipArchiveEntry current
private boolean closed
private boolean hitCentralDirectory
private int readBytesOfEntry
private int offsetInBuffer
private int bytesReadFromStream
private int lengthOfLastRead
private boolean hasDataDescriptor
private static final int LFH_LEN
public void (java.io.InputStream)
java.io.InputStream inputStream
public void (java.io.InputStream, java.lang.String, boolean)
java.io.InputStream inputStream
String encoding
boolean useUnicodeExtraFields
public org.apache.commons.compress.archivers.zip.ZipArchiveEntry getNextZipEntry () throws java.io.IOException
java.io.EOFException e
byte[] lfh
org.apache.commons.compress.archivers.zip.ZipLong sig
int off
int versionMadeBy
int generalPurposeFlag
boolean hasEFS
org.apache.commons.compress.archivers.zip.ZipEncoding entryEncoding
long time
int fileNameLen
int extraLen
byte[] fileName
byte[] extraData
public org.apache.commons.compress.archivers.ArchiveEntry getNextEntry () throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
int csize
int toRead
java.util.zip.DataFormatException e
int read
byte[] buffer
int start
int length
public void close () throws java.io.IOException
public long skip (long) throws java.io.IOException
long rem
int x
long skipped
byte[] b
long value
public static boolean matches (byte[], int)
byte[] signature
int length
private static boolean checksig (byte[], byte[])
int i
byte[] signature
byte[] expected
private void closeEntry () throws java.io.IOException
int inB
int inB
int diff
private void fill () throws java.io.IOException
private void readFully (byte[]) throws java.io.IOException
byte[] b
int count
int x
}
org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream$UnicodeExtraFieldPolicy.classZipArchiveOutputStream.java
package org.apache.commons.compress.archivers.zip
public final org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$UnicodeExtraFieldPolicy extends java.lang.Object {
public static final org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$UnicodeExtraFieldPolicy ALWAYS
public static final org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$UnicodeExtraFieldPolicy NEVER
public static final org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$UnicodeExtraFieldPolicy NOT_ENCODEABLE
private final String name
private void (java.lang.String)
String n
public java.lang.String toString ()
static void ()
}
org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.classZipArchiveOutputStream.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream extends org.apache.commons.compress.archivers.ArchiveOutputStream {
static final int BYTE_MASK
private static final int SHORT
private static final int WORD
static final int BUFFER_SIZE
protected boolean finished
private static final int DEFLATER_BLOCK_SIZE
public static final int DEFLATED
public static final int DEFAULT_COMPRESSION
public static final int STORED
static final String DEFAULT_ENCODING
public static final int EFS_FLAG
private org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry
private String comment
private int level
private boolean hasCompressionLevelChanged
private int method
private final java.util.List entries
private final java.util.zip.CRC32 crc
private long written
private long dataStart
private long localDataStart
private long cdOffset
private long cdLength
private static final byte[] ZERO
private static final byte[] LZERO
private final java.util.Map offsets
private String encoding
private org.apache.commons.compress.archivers.zip.ZipEncoding zipEncoding
protected final java.util.zip.Deflater def
private final byte[] buf
private final java.io.RandomAccessFile raf
private final java.io.OutputStream out
private boolean useEFS
private boolean fallbackToUTF8
private org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$UnicodeExtraFieldPolicy createUnicodeExtraFields
static final byte[] LFH_SIG
static final byte[] DD_SIG
static final byte[] CFH_SIG
static final byte[] EOCD_SIG
public void (java.io.OutputStream)
java.io.OutputStream out
public void (java.io.File) throws java.io.IOException
java.io.IOException inner
java.io.IOException e
java.io.File file
java.io.OutputStream o
java.io.RandomAccessFile _raf
public boolean isSeekable ()
public void setEncoding (java.lang.String)
String encoding
public java.lang.String getEncoding ()
public void setUseLanguageEncodingFlag (boolean)
boolean b
public void setCreateUnicodeExtraFields (org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$UnicodeExtraFieldPolicy)
org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$UnicodeExtraFieldPolicy b
public void setFallbackToUTF8 (boolean)
boolean b
public void finish () throws java.io.IOException
java.util.Iterator i
public void closeArchiveEntry () throws java.io.IOException
long size
long save
long realCrc
public void putArchiveEntry (org.apache.commons.compress.archivers.ArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.ArchiveEntry archiveEntry
public void setComment (java.lang.String)
String comment
public void setLevel (int)
int level
public void setMethod (int)
int method
public void write (byte[], int, int) throws java.io.IOException
int i
int fullblocks
int done
byte[] b
int offset
int length
public void close () throws java.io.IOException
public void flush () throws java.io.IOException
protected final void deflate () throws java.io.IOException
int len
protected void writeLocalFileHeader (org.apache.commons.compress.archivers.zip.ZipArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.zip.ZipEncoding entryEncoding
java.nio.ByteBuffer commentB
boolean commentEncodable
String comm
org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze
boolean encodable
org.apache.commons.compress.archivers.zip.ZipEncoding entryEncoding
java.nio.ByteBuffer name
int zipMethod
byte[] extra
protected void writeDataDescriptor (org.apache.commons.compress.archivers.zip.ZipArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze
protected void writeCentralFileHeader (org.apache.commons.compress.archivers.zip.ZipArchiveEntry) throws java.io.IOException
org.apache.commons.compress.archivers.zip.ZipEncoding entryEncoding
org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze
int zipMethod
boolean encodable
org.apache.commons.compress.archivers.zip.ZipEncoding entryEncoding
java.nio.ByteBuffer name
byte[] extra
String comm
java.nio.ByteBuffer commentB
protected void writeCentralDirectoryEnd () throws java.io.IOException
byte[] num
java.nio.ByteBuffer data
protected final void writeOut (byte[]) throws java.io.IOException
byte[] data
protected final void writeOut (byte[], int, int) throws java.io.IOException
byte[] data
int offset
int length
private void deflateUntilInputIsNeeded () throws java.io.IOException
private void writeVersionNeededToExtractAndGeneralPurposeBits (int, boolean) throws java.io.IOException
int zipMethod
boolean utfFallback
int versionNeededToExtract
int generalPurposeFlag
public org.apache.commons.compress.archivers.ArchiveEntry createArchiveEntry (java.io.File, java.lang.String) throws java.io.IOException
java.io.File inputFile
String entryName
static void ()
}
org/apache/commons/compress/archivers/zip/ZipEncoding.classZipEncoding.java
package org.apache.commons.compress.archivers.zip
abstract org.apache.commons.compress.archivers.zip.ZipEncoding extends java.lang.Object {
public abstract boolean canEncode (java.lang.String)
public abstract java.nio.ByteBuffer encode (java.lang.String) throws java.io.IOException
public abstract java.lang.String decode (byte[]) throws java.io.IOException
}
org/apache/commons/compress/archivers/zip/ZipEncodingHelper$SimpleEncodingHolder.classZipEncodingHelper.java
package org.apache.commons.compress.archivers.zip
org.apache.commons.compress.archivers.zip.ZipEncodingHelper$SimpleEncodingHolder extends java.lang.Object {
private final char[] highChars
private org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding encoding
void (char[])
char[] highChars
public synchronized org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding getEncoding ()
}
org/apache/commons/compress/archivers/zip/ZipEncodingHelper.classZipEncodingHelper.java
package org.apache.commons.compress.archivers.zip
abstract org.apache.commons.compress.archivers.zip.ZipEncodingHelper extends java.lang.Object {
private static final java.util.Map simpleEncodings
private static final byte[] HEX_DIGITS
static final String UTF8
static final org.apache.commons.compress.archivers.zip.ZipEncoding UTF8_ZIP_ENCODING
void ()
static java.nio.ByteBuffer growBuffer (java.nio.ByteBuffer, int)
java.nio.ByteBuffer b
int newCapacity
int c2
java.nio.ByteBuffer on
static void appendSurrogate (java.nio.ByteBuffer, char)
java.nio.ByteBuffer bb
char c
static org.apache.commons.compress.archivers.zip.ZipEncoding getZipEncoding (java.lang.String)
java.nio.charset.Charset cs
java.nio.charset.UnsupportedCharsetException e
String name
org.apache.commons.compress.archivers.zip.ZipEncodingHelper$SimpleEncodingHolder h
static boolean isUTF8 (java.lang.String)
String encoding
static void ()
char[] cp437_high_chars
org.apache.commons.compress.archivers.zip.ZipEncodingHelper$SimpleEncodingHolder cp437
char[] cp850_high_chars
org.apache.commons.compress.archivers.zip.ZipEncodingHelper$SimpleEncodingHolder cp850
}
org/apache/commons/compress/archivers/zip/ZipExtraField.classZipExtraField.java
package org.apache.commons.compress.archivers.zip
public abstract org.apache.commons.compress.archivers.zip.ZipExtraField extends java.lang.Object {
public abstract org.apache.commons.compress.archivers.zip.ZipShort getHeaderId ()
public abstract org.apache.commons.compress.archivers.zip.ZipShort getLocalFileDataLength ()
public abstract org.apache.commons.compress.archivers.zip.ZipShort getCentralDirectoryLength ()
public abstract byte[] getLocalFileDataData ()
public abstract byte[] getCentralDirectoryData ()
public abstract void parseFromLocalFileData (byte[], int, int) throws java.util.zip.ZipException
public abstract void parseFromCentralDirectoryData (byte[], int, int) throws java.util.zip.ZipException
}
org/apache/commons/compress/archivers/zip/ZipFile$1.classZipFile.java
package org.apache.commons.compress.archivers.zip
org.apache.commons.compress.archivers.zip.ZipFile$1 extends java.lang.Object {
}
org/apache/commons/compress/archivers/zip/ZipFile$BoundedInputStream.classZipFile.java
package org.apache.commons.compress.archivers.zip
org.apache.commons.compress.archivers.zip.ZipFile$BoundedInputStream extends java.io.InputStream {
private long remaining
private long loc
private boolean addDummyByte
private final org.apache.commons.compress.archivers.zip.ZipFile this$0
void (org.apache.commons.compress.archivers.zip.ZipFile, long, long)
long start
long remaining
public int read () throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
int ret
void addDummy ()
}
org/apache/commons/compress/archivers/zip/ZipFile$NameAndComment.classZipFile.java
package org.apache.commons.compress.archivers.zip
final org.apache.commons.compress.archivers.zip.ZipFile$NameAndComment extends java.lang.Object {
private final byte[] name
private final byte[] comment
private void (byte[], byte[])
byte[] name
byte[] comment
void (byte[], byte[], org.apache.commons.compress.archivers.zip.ZipFile$1)
byte[] x0
byte[] x1
org.apache.commons.compress.archivers.zip.ZipFile$1 x2
static byte[] access$400 (org.apache.commons.compress.archivers.zip.ZipFile$NameAndComment)
org.apache.commons.compress.archivers.zip.ZipFile$NameAndComment x0
static byte[] access$500 (org.apache.commons.compress.archivers.zip.ZipFile$NameAndComment)
org.apache.commons.compress.archivers.zip.ZipFile$NameAndComment x0
}
org/apache/commons/compress/archivers/zip/ZipFile$OffsetEntry.classZipFile.java
package org.apache.commons.compress.archivers.zip
final org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry extends java.lang.Object {
private long headerOffset
private long dataOffset
private void ()
static long access$000 (org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry)
org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry x0
void (org.apache.commons.compress.archivers.zip.ZipFile$1)
org.apache.commons.compress.archivers.zip.ZipFile$1 x0
static long access$202 (org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry, long)
org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry x0
long x1
static long access$200 (org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry)
org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry x0
static long access$002 (org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry, long)
org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry x0
long x1
}
org/apache/commons/compress/archivers/zip/ZipFile.classZipFile.java
package org.apache.commons.compress.archivers.zip
public org.apache.commons.compress.archivers.zip.ZipFile extends java.lang.Object {
private static final int HASH_SIZE
private static final int SHORT
private static final int WORD
static final int NIBLET_MASK
static final int BYTE_SHIFT
private static final int POS_0
private static final int POS_1
private static final int POS_2
private static final int POS_3
private final java.util.Map entries
private final java.util.Map nameMap
private final String encoding
private final org.apache.commons.compress.archivers.zip.ZipEncoding zipEncoding
private final java.io.RandomAccessFile archive
private final boolean useUnicodeExtraFields
private static final int CFH_LEN
private static final int MIN_EOCD_SIZE
private static final int MAX_EOCD_SIZE
private static final int CFD_LOCATOR_OFFSET
private static final long LFH_OFFSET_FOR_FILENAME_LENGTH
public void (java.io.File) throws java.io.IOException
java.io.File f
public void (java.lang.String) throws java.io.IOException
String name
public void (java.lang.String, java.lang.String) throws java.io.IOException
String name
String encoding
public void (java.io.File, java.lang.String) throws java.io.IOException
java.io.File f
String encoding
public void (java.io.File, java.lang.String, boolean) throws java.io.IOException
java.util.Map entriesWithoutEFS
java.io.IOException e2
java.io.IOException e2
java.io.File f
String encoding
boolean useUnicodeExtraFields
boolean success
public java.lang.String getEncoding ()
public void close () throws java.io.IOException
public static void closeQuietly (org.apache.commons.compress.archivers.zip.ZipFile)
java.io.IOException e
org.apache.commons.compress.archivers.zip.ZipFile zipfile
public java.util.Enumeration getEntries ()
public org.apache.commons.compress.archivers.zip.ZipArchiveEntry getEntry (java.lang.String)
String name
public java.io.InputStream getInputStream (org.apache.commons.compress.archivers.zip.ZipArchiveEntry) throws java.io.IOException java.util.zip.ZipException
org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze
org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry offsetEntry
long start
org.apache.commons.compress.archivers.zip.ZipFile$BoundedInputStream bis
private java.util.Map populateFromCentralDirectory () throws java.io.IOException
int off
org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze
int versionMadeBy
int generalPurposeFlag
boolean hasEFS
org.apache.commons.compress.archivers.zip.ZipEncoding entryEncoding
long time
int fileNameLen
int extraLen
int commentLen
byte[] fileName
org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry offset
byte[] cdExtraData
byte[] comment
java.util.HashMap noEFS
byte[] cfh
byte[] signatureBytes
long sig
long cfhSig
private void positionAtCentralDirectory () throws java.io.IOException
byte[] sig
int curr
boolean found
long off
long stopSearching
byte[] cfdOffset
private void resolveLocalFileHeaderData (java.util.Map) throws java.io.IOException
int skipped
String orig
org.apache.commons.compress.archivers.zip.ZipFile$NameAndComment nc
org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze
org.apache.commons.compress.archivers.zip.ZipFile$OffsetEntry offsetEntry
long offset
byte[] b
int fileNameLen
int extraFieldLen
int lenToSkip
byte[] localExtraData
java.util.Map entriesWithoutEFS
java.util.Enumeration e
private boolean startsWithLocalFileHeader () throws java.io.IOException
int i
byte[] start
static java.io.RandomAccessFile access$600 (org.apache.commons.compress.archivers.zip.ZipFile)
org.apache.commons.compress.archivers.zip.ZipFile x0
}
org/apache/commons/compress/archivers/zip/ZipLong.classZipLong.java
package org.apache.commons.compress.archivers.zip
public final org.apache.commons.compress.archivers.zip.ZipLong extends java.lang.Object implements java.lang.Cloneable {
private static final int WORD
private static final int BYTE_MASK
private static final int BYTE_1
private static final int BYTE_1_MASK
private static final int BYTE_1_SHIFT
private static final int BYTE_2
private static final int BYTE_2_MASK
private static final int BYTE_2_SHIFT
private static final int BYTE_3
private static final long BYTE_3_MASK
private static final int BYTE_3_SHIFT
private final long value
public static final org.apache.commons.compress.archivers.zip.ZipLong CFH_SIG
public static final org.apache.commons.compress.archivers.zip.ZipLong LFH_SIG
public void (long)
long value
public void (byte[])
byte[] bytes
public void (byte[], int)
byte[] bytes
int offset
public byte[] getBytes ()
public long getValue ()
public static byte[] getBytes (long)
long value
byte[] result
public static long getValue (byte[], int)
byte[] bytes
int offset
long value
public static long getValue (byte[])
byte[] bytes
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
public java.lang.Object clone ()
CloneNotSupportedException cnfe
static void ()
}
org/apache/commons/compress/archivers/zip/ZipShort.classZipShort.java
package org.apache.commons.compress.archivers.zip
public final org.apache.commons.compress.archivers.zip.ZipShort extends java.lang.Object implements java.lang.Cloneable {
private static final int BYTE_MASK
private static final int BYTE_1_MASK
private static final int BYTE_1_SHIFT
private final int value
public void (int)
int value
public void (byte[])
byte[] bytes
public void (byte[], int)
byte[] bytes
int offset
public byte[] getBytes ()
byte[] result
public int getValue ()
public static byte[] getBytes (int)
int value
byte[] result
public static int getValue (byte[], int)
byte[] bytes
int offset
int value
public static int getValue (byte[])
byte[] bytes
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
public java.lang.Object clone ()
CloneNotSupportedException cnfe
}
org/apache/commons/compress/archivers/zip/ZipUtil.classZipUtil.java
package org.apache.commons.compress.archivers.zip
public abstract org.apache.commons.compress.archivers.zip.ZipUtil extends java.lang.Object {
private static final byte[] DOS_TIME_MIN
public void ()
public static org.apache.commons.compress.archivers.zip.ZipLong toDosTime (java.util.Date)
java.util.Date time
public static byte[] toDosTime (long)
long t
java.util.Calendar c
int year
int month
long value
public static long adjustToLong (int)
int i
public static java.util.Date fromDosTime (org.apache.commons.compress.archivers.zip.ZipLong)
org.apache.commons.compress.archivers.zip.ZipLong zipDosTime
long dosTime
public static long dosToJavaTime (long)
long dosTime
java.util.Calendar cal
static void setNameAndCommentFromExtraFields (org.apache.commons.compress.archivers.zip.ZipArchiveEntry, byte[], byte[])
org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField cmt
String newComment
org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze
byte[] originalNameBytes
byte[] commentBytes
org.apache.commons.compress.archivers.zip.UnicodePathExtraField name
String originalName
String newName
private static java.lang.String getUnicodeStringIfOriginalMatches (org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField, byte[])
java.io.IOException ex
java.util.zip.CRC32 crc32
long origCRC32
org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField f
byte[] orig
static void ()
}
org/apache/commons/compress/changes/Change.classChange.java
package org.apache.commons.compress.changes
org.apache.commons.compress.changes.Change extends java.lang.Object {
private final String targetFile
private final org.apache.commons.compress.archivers.ArchiveEntry entry
private final java.io.InputStream input
private final boolean replaceMode
private final int type
static final int TYPE_DELETE
static final int TYPE_ADD
static final int TYPE_MOVE
static final int TYPE_DELETE_DIR
void (java.lang.String, int)
String pFilename
int type
void (org.apache.commons.compress.archivers.ArchiveEntry, java.io.InputStream, boolean)
org.apache.commons.compress.archivers.ArchiveEntry pEntry
java.io.InputStream pInput
boolean replace
org.apache.commons.compress.archivers.ArchiveEntry getEntry ()
java.io.InputStream getInput ()
java.lang.String targetFile ()
int type ()
boolean isReplaceMode ()
}
org/apache/commons/compress/changes/ChangeSet.classChangeSet.java
package org.apache.commons.compress.changes
public final org.apache.commons.compress.changes.ChangeSet extends java.lang.Object {
private final java.util.Set changes
public void ()
public void delete (java.lang.String)
String filename
public void deleteDir (java.lang.String)
String dirName
public void add (org.apache.commons.compress.archivers.ArchiveEntry, java.io.InputStream)
org.apache.commons.compress.archivers.ArchiveEntry pEntry
java.io.InputStream pInput
public void add (org.apache.commons.compress.archivers.ArchiveEntry, java.io.InputStream, boolean)
org.apache.commons.compress.archivers.ArchiveEntry pEntry
java.io.InputStream pInput
boolean replace
private void addAddition (org.apache.commons.compress.changes.Change)
org.apache.commons.compress.archivers.ArchiveEntry entry
org.apache.commons.compress.changes.Change change
java.util.Iterator it
org.apache.commons.compress.changes.Change pChange
private void addDeletion (org.apache.commons.compress.changes.Change)
String target
org.apache.commons.compress.changes.Change change
java.util.Iterator it
org.apache.commons.compress.changes.Change pChange
String source
java.util.Set getChanges ()
}
org/apache/commons/compress/changes/ChangeSetPerformer.classChangeSetPerformer.java
package org.apache.commons.compress.changes
public org.apache.commons.compress.changes.ChangeSetPerformer extends java.lang.Object {
private final java.util.Set changes
public void (org.apache.commons.compress.changes.ChangeSet)
org.apache.commons.compress.changes.ChangeSet changeSet
public org.apache.commons.compress.changes.ChangeSetResults perform (org.apache.commons.compress.archivers.ArchiveInputStream, org.apache.commons.compress.archivers.ArchiveOutputStream) throws java.io.IOException
org.apache.commons.compress.changes.Change change
java.util.Iterator it
org.apache.commons.compress.changes.Change change
int type
String name
java.util.Iterator it
boolean copy
org.apache.commons.compress.changes.Change change
java.util.Iterator it
org.apache.commons.compress.archivers.ArchiveInputStream in
org.apache.commons.compress.archivers.ArchiveOutputStream out
org.apache.commons.compress.changes.ChangeSetResults results
java.util.Set workingSet
org.apache.commons.compress.archivers.ArchiveEntry entry
private boolean isDeletedLater (java.util.Set, org.apache.commons.compress.archivers.ArchiveEntry)
org.apache.commons.compress.changes.Change change
int type
String target
java.util.Iterator it
java.util.Set workingSet
org.apache.commons.compress.archivers.ArchiveEntry entry
String source
private void copyStream (java.io.InputStream, org.apache.commons.compress.archivers.ArchiveOutputStream, org.apache.commons.compress.archivers.ArchiveEntry) throws java.io.IOException
java.io.InputStream in
org.apache.commons.compress.archivers.ArchiveOutputStream out
org.apache.commons.compress.archivers.ArchiveEntry entry
}
org/apache/commons/compress/changes/ChangeSetResults.classChangeSetResults.java
package org.apache.commons.compress.changes
public org.apache.commons.compress.changes.ChangeSetResults extends java.lang.Object {
private final java.util.List addedFromChangeSet
private final java.util.List addedFromStream
private final java.util.List deleted
public void ()
void deleted (java.lang.String)
String fileName
void addedFromStream (java.lang.String)
String fileName
void addedFromChangeSet (java.lang.String)
String fileName
public java.util.List getAddedFromChangeSet ()
public java.util.List getAddedFromStream ()
public java.util.List getDeleted ()
boolean hasBeenAdded (java.lang.String)
String filename
}
org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream$Data.classBZip2CompressorInputStream.java
package org.apache.commons.compress.compressors.bzip2
final org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream$Data extends java.lang.Object {
final boolean[] inUse
final byte[] seqToUnseq
final byte[] selector
final byte[] selectorMtf
final int[] unzftab
final int[][] limit
final int[][] base
final int[][] perm
final int[] minLens
final int[] cftab
final char[] getAndMoveToFrontDecode_yy
final char[][] temp_charArray2d
final byte[] recvDecodingTables_pos
int[] tt
byte[] ll8
void (int)
int blockSize100k
final int[] initTT (int)
int length
int[] ttShadow
}
org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.classBZip2CompressorInputStream.java
package org.apache.commons.compress.compressors.bzip2
public org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream extends org.apache.commons.compress.compressors.CompressorInputStream implements org.apache.commons.compress.compressors.bzip2.BZip2Constants {
private int last
private int origPtr
private int blockSize100k
private boolean blockRandomised
private int bsBuff
private int bsLive
private final org.apache.commons.compress.compressors.bzip2.CRC crc
private int nInUse
private java.io.InputStream in
private int currentChar
private static final int EOF
private static final int START_BLOCK_STATE
private static final int RAND_PART_A_STATE
private static final int RAND_PART_B_STATE
private static final int RAND_PART_C_STATE
private static final int NO_RAND_PART_A_STATE
private static final int NO_RAND_PART_B_STATE
private static final int NO_RAND_PART_C_STATE
private int currentState
private int storedBlockCRC
private int storedCombinedCRC
private int computedBlockCRC
private int computedCombinedCRC
private int su_count
private int su_ch2
private int su_chPrev
private int su_i2
private int su_j2
private int su_rNToGo
private int su_rTPos
private int su_tPos
private char su_z
private org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream$Data data
public void (java.io.InputStream) throws java.io.IOException
java.io.InputStream in
public int read () throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
int b
byte[] dest
int offs
int len
int hi
int destOffs
private void makeMaps ()
int i
boolean[] inUse
byte[] seqToUnseq
int nInUseShadow
private int read0 () throws java.io.IOException
int retChar
private void init () throws java.io.IOException
int blockSize
private void checkMagicChar (char, java.lang.String) throws java.io.IOException
char expected
String position
int magic
private void initBlock () throws java.io.IOException
char magic0
char magic1
char magic2
char magic3
char magic4
char magic5
private void endBlock () throws java.io.IOException
private void complete () throws java.io.IOException
public void close () throws java.io.IOException
java.io.InputStream inShadow
private int bsR (int) throws java.io.IOException
int thech
java.io.InputStream inShadow
int n
int bsLiveShadow
int bsBuffShadow
private boolean bsGetBit () throws java.io.IOException
int thech
int bsLiveShadow
int bsBuffShadow
private char bsGetUByte () throws java.io.IOException
private int bsGetInt () throws java.io.IOException
private static void hbCreateDecodeTables (int[], int[], int[], char[], int, int, int)
int j
int i
int pp
int i
int i
int i
int b
int nb
int i
int vec
int b
int i
int[] limit
int[] base
int[] perm
char[] length
int minLen
int maxLen
int alphaSize
private void recvDecodingTables () throws java.io.IOException
int i
int i
int j
int i16
int i
int j
int i
int v
int v
byte tmp
int i
int i
int curr
char[] len_t
int t
org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream$Data dataShadow
boolean[] inUse
byte[] pos
byte[] selector
byte[] selectorMtf
int inUse16
int alphaSize
int nGroups
int nSelectors
char[][] len
private void createHuffmanDecodingTables (int, int)
char lent
int i
int minLen
int maxLen
char[] len_t
int t
int alphaSize
int nGroups
org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream$Data dataShadow
char[][] len
int[] minLens
int[][] limit
int[][] base
int[][] perm
private void getAndMoveToFrontDecode () throws java.io.IOException
int i
int thech
int thech
int zn
int zvec
int n
int s
byte ch
int j
int thech
int thech
char tmp
int zn
int zvec
java.io.InputStream inShadow
org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream$Data dataShadow
byte[] ll8
int[] unzftab
byte[] selector
byte[] seqToUnseq
char[] yy
int[] minLens
int[][] limit
int[][] base
int[][] perm
int limitLast
int groupNo
int groupPos
int eob
int nextSym
int bsBuffShadow
int bsLiveShadow
int lastShadow
int zt
int[] base_zt
int[] limit_zt
int[] perm_zt
int minLens_zt
private int getAndMoveToFrontDecode0 (int) throws java.io.IOException
int thech
int groupNo
java.io.InputStream inShadow
org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream$Data dataShadow
int zt
int[] limit_zt
int zn
int zvec
int bsLiveShadow
int bsBuffShadow
private void setupBlock () throws java.io.IOException
int i
int c
int i
int lastShadow
int[] cftab
int[] tt
byte[] ll8
private void setupRandPartA () throws java.io.IOException
int su_ch2Shadow
private void setupNoRandPartA () throws java.io.IOException
int su_ch2Shadow
private void setupRandPartB () throws java.io.IOException
private void setupRandPartC () throws java.io.IOException
private void setupNoRandPartB () throws java.io.IOException
private void setupNoRandPartC () throws java.io.IOException
int su_ch2Shadow
}
org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream$Data.classBZip2CompressorOutputStream.java
package org.apache.commons.compress.compressors.bzip2
final org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data extends java.lang.Object {
final boolean[] inUse
final byte[] unseqToSeq
final int[] mtfFreq
final byte[] selector
final byte[] selectorMtf
final byte[] generateMTFValues_yy
final byte[][] sendMTFValues_len
final int[][] sendMTFValues_rfreq
final int[] sendMTFValues_fave
final short[] sendMTFValues_cost
final int[][] sendMTFValues_code
final byte[] sendMTFValues2_pos
final boolean[] sentMTFValues4_inUse16
final int[] stack_ll
final int[] stack_hh
final int[] stack_dd
final int[] mainSort_runningOrder
final int[] mainSort_copy
final boolean[] mainSort_bigDone
final int[] heap
final int[] weight
final int[] parent
final int[] ftab
final byte[] block
final int[] fmap
final char[] sfmap
final char[] quadrant
void (int)
int blockSize100k
int n
}
org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.classBZip2CompressorOutputStream.java
package org.apache.commons.compress.compressors.bzip2
public org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream extends org.apache.commons.compress.compressors.CompressorOutputStream implements org.apache.commons.compress.compressors.bzip2.BZip2Constants {
public static final int MIN_BLOCKSIZE
public static final int MAX_BLOCKSIZE
private static final int SETMASK
private static final int CLEARMASK
private static final int GREATER_ICOST
private static final int LESSER_ICOST
private static final int SMALL_THRESH
private static final int DEPTH_THRESH
private static final int WORK_FACTOR
private static final int QSORT_STACK_SIZE
private static final int[] INCS
private int last
private int origPtr
private final int blockSize100k
private boolean blockRandomised
private int bsBuff
private int bsLive
private final org.apache.commons.compress.compressors.bzip2.CRC crc
private int nInUse
private int nMTF
private int workDone
private int workLimit
private boolean firstAttempt
private int currentChar
private int runLength
private int blockCRC
private int combinedCRC
private int allowableBlockSize
private org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data data
private java.io.OutputStream out
private static void hbMakeCodeLengths (byte[], int[], org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data, int, int)
int i
int zz
int tmp
int i
int n1
int yy
int zz
int tmp
int n2
int weight_n1
int weight_n2
int weight_tmp
int parent_k
int j
int k
int i
int j
int i
int nNodes
int nHeap
boolean tooLong
byte[] len
int[] freq
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dat
int alphaSize
int maxLen
int[] heap
int[] weight
int[] parent
public static int chooseBlockSize (long)
long inputLength
public void (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
public void (java.io.OutputStream, int) throws java.io.IOException
java.io.OutputStream out
int blockSize
public void write (int) throws java.io.IOException
int b
private void writeRun () throws java.io.IOException
byte[] block
byte[] block
int currentCharShadow
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dataShadow
byte ch
int runLengthShadow
int lastShadow
protected void finalize () throws java.lang.Throwable
public void finish () throws java.io.IOException
public void close () throws java.io.IOException
java.io.OutputStream outShadow
public void flush () throws java.io.IOException
java.io.OutputStream outShadow
private void init () throws java.io.IOException
private void initBlock ()
int i
boolean[] inUse
private void endBlock () throws java.io.IOException
private void endCompression () throws java.io.IOException
public final int getBlockSize ()
public void write (byte[], int, int) throws java.io.IOException
int hi
byte[] buf
int offs
int len
private void write0 (int) throws java.io.IOException
int b
private static void hbAssignCodes (int[], byte[], int, int, int)
int i
int n
int[] code
byte[] length
int minLen
int maxLen
int alphaSize
int vec
private void bsFinishedWithStream () throws java.io.IOException
int ch
private void bsW (int, int) throws java.io.IOException
int n
int v
java.io.OutputStream outShadow
int bsLiveShadow
int bsBuffShadow
private void bsPutUByte (int) throws java.io.IOException
int c
private void bsPutInt (int) throws java.io.IOException
int u
private void sendMTFValues () throws java.io.IOException
int v
byte[] len_t
int t
byte[][] len
int alphaSize
int nGroups
int nSelectors
private void sendMTFValues0 (int, int)
int a
int v
int tFreq
int ge
int aFreq
byte[] len_np
int nPart
int nGroups
int alphaSize
byte[][] len
int[] mtfFreq
int remF
int gs
private int sendMTFValues1 (int, int)
int i
int[] rfreqt
int t
int icv
int i
short cost0
short cost1
short cost2
short cost3
short cost4
short cost5
int t
int t
int icv
int i
int cost_t
int t
int bc
int i
int ge
int bt
int[] rfreq_bt
int gs
int t
int iter
int nGroups
int alphaSize
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dataShadow
int[][] rfreq
int[] fave
short[] cost
char[] sfmap
byte[] selector
byte[][] len
byte[] len_0
byte[] len_1
byte[] len_2
byte[] len_3
byte[] len_4
byte[] len_5
int nMTFShadow
int nSelectors
private void sendMTFValues2 (int, int)
int i
byte tmp2
byte ll_i
byte tmp
int j
int i
int nGroups
int nSelectors
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dataShadow
byte[] pos
private void sendMTFValues3 (int, int)
int l
int i
int minLen
int maxLen
byte[] len_t
int t
int nGroups
int alphaSize
int[][] code
byte[][] len
private void sendMTFValues4 () throws java.io.IOException
int j
int i16
int i
int i
int j
int i16
int i
boolean[] inUse
boolean[] inUse16
java.io.OutputStream outShadow
int bsLiveShadow
int bsBuffShadow
private void sendMTFValues5 (int, int) throws java.io.IOException
int j
int hj
int i
int nGroups
int nSelectors
java.io.OutputStream outShadow
byte[] selectorMtf
int bsLiveShadow
int bsBuffShadow
private void sendMTFValues6 (int, int) throws java.io.IOException
int lti
int i
byte[] len_t
int curr
int t
int nGroups
int alphaSize
byte[][] len
java.io.OutputStream outShadow
int bsLiveShadow
int bsBuffShadow
private void sendMTFValues7 (int) throws java.io.IOException
int sfmap_i
int n
int ge
int selector_selCtr
int[] code_selCtr
byte[] len_selCtr
int gs
int nSelectors
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dataShadow
byte[][] len
int[][] code
java.io.OutputStream outShadow
byte[] selector
char[] sfmap
int nMTFShadow
int selCtr
int bsLiveShadow
int bsBuffShadow
private void moveToFrontCodeAndSend () throws java.io.IOException
private boolean mainSimpleSort (org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data, int, int, int)
int x
int i1
int i2
int v
int vd
int j
boolean onceRunned
int a
int k
int i
int h
int mj
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dataShadow
int lo
int hi
int d
int bigN
int hp
int[] fmap
char[] quadrant
byte[] block
int lastShadow
int lastPlus1
boolean firstAttemptShadow
int workLimitShadow
int workDoneShadow
private static void vswap (int[], int, int, int)
int t
int[] fmap
int p1
int p2
int n
private static byte med3 (byte, byte, byte)
byte a
byte b
byte c
private void blockSort ()
int i
int lastShadow
int[] fmap
private void mainQSort3 (org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data, int, int, int)
int temp
int n
int temp
int n
int temp
int n
int m
int d1
int med
int unLo
int unHi
int ltLo
int gtHi
int lo
int hi
int d
int sp
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dataShadow
int loSt
int hiSt
int dSt
int[] stack_ll
int[] stack_hh
int[] stack_dd
int[] fmap
byte[] block
private void mainSort ()
int i
int i
int i
int c2
int i
int i
int c2
int i
int i
int ro
int vv
int a
int b
int j
int i
int h
int lo
int hi
int sb
int ftab_sb
int j
int j
int fmap_j
int j
int hj
int j
int a2update
char qVal
int j
int bbStart
int bbSize
int shifts
int ss
int i
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dataShadow
int[] runningOrder
int[] copy
boolean[] bigDone
int[] ftab
byte[] block
int[] fmap
char[] quadrant
int lastShadow
int workLimitShadow
boolean firstAttemptShadow
int c1
private void randomiseBlock ()
int i
int i
int j
boolean[] inUse
byte[] block
int lastShadow
int rNToGo
int rTPos
private void generateMTFValues ()
int i
int i
int i
byte tmp2
byte ll_i
byte tmp
int j
int i
int lastShadow
org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream$Data dataShadow
boolean[] inUse
byte[] block
int[] fmap
char[] sfmap
int[] mtfFreq
byte[] unseqToSeq
byte[] yy
int nInUseShadow
int eob
int wr
int zPend
static void ()
}
org/apache/commons/compress/compressors/bzip2/BZip2Constants.classBZip2Constants.java
package org.apache.commons.compress.compressors.bzip2
abstract org.apache.commons.compress.compressors.bzip2.BZip2Constants extends java.lang.Object {
public static final int BASEBLOCKSIZE
public static final int MAX_ALPHA_SIZE
public static final int MAX_CODE_LEN
public static final int RUNA
public static final int RUNB
public static final int N_GROUPS
public static final int G_SIZE
public static final int N_ITERS
public static final int MAX_SELECTORS
public static final int NUM_OVERSHOOT_BYTES
}
org/apache/commons/compress/compressors/bzip2/CRC.classCRC.java
package org.apache.commons.compress.compressors.bzip2
org.apache.commons.compress.compressors.bzip2.CRC extends java.lang.Object {
private static final int[] crc32Table
private int globalCrc
void ()
void initialiseCRC ()
int getFinalCRC ()
int getGlobalCRC ()
void setGlobalCRC (int)
int newCrc
void updateCRC (int)
int inCh
int temp
void updateCRC (int, int)
int temp
int inCh
int repeat
int globalCrcShadow
static void ()
}
org/apache/commons/compress/compressors/bzip2/Rand.classRand.java
package org.apache.commons.compress.compressors.bzip2
final org.apache.commons.compress.compressors.bzip2.Rand extends java.lang.Object {
private static final int[] RNUMS
void ()
static int rNums (int)
int i
static void ()
}
org/apache/commons/compress/compressors/CompressorException.classCompressorException.java
package org.apache.commons.compress.compressors
public org.apache.commons.compress.compressors.CompressorException extends java.lang.Exception {
private static final long serialVersionUID
public void (java.lang.String)
String message
public void (java.lang.String, java.lang.Throwable)
String message
Throwable cause
}
org/apache/commons/compress/compressors/CompressorInputStream.classCompressorInputStream.java
package org.apache.commons.compress.compressors
public abstract org.apache.commons.compress.compressors.CompressorInputStream extends java.io.InputStream {
private int bytesRead
public void ()
protected void count (int)
int read
public int getCount ()
}
org/apache/commons/compress/compressors/CompressorOutputStream.classCompressorOutputStream.java
package org.apache.commons.compress.compressors
public abstract org.apache.commons.compress.compressors.CompressorOutputStream extends java.io.OutputStream {
public void ()
}
org/apache/commons/compress/compressors/CompressorStreamFactory.classCompressorStreamFactory.java
package org.apache.commons.compress.compressors
public org.apache.commons.compress.compressors.CompressorStreamFactory extends java.lang.Object {
public void ()
public org.apache.commons.compress.compressors.CompressorInputStream createCompressorInputStream (java.lang.String, java.io.InputStream) throws org.apache.commons.compress.compressors.CompressorException
java.io.IOException e
String name
java.io.InputStream in
public org.apache.commons.compress.compressors.CompressorOutputStream createCompressorOutputStream (java.lang.String, java.io.OutputStream) throws org.apache.commons.compress.compressors.CompressorException
java.io.IOException e
String name
java.io.OutputStream out
}
org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.classGzipCompressorInputStream.java
package org.apache.commons.compress.compressors.gzip
public org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream extends org.apache.commons.compress.compressors.CompressorInputStream {
private final java.util.zip.GZIPInputStream in
public void (java.io.InputStream) throws java.io.IOException
java.io.InputStream inputStream
public int read () throws java.io.IOException
}
org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.classGzipCompressorOutputStream.java
package org.apache.commons.compress.compressors.gzip
public org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream extends org.apache.commons.compress.compressors.CompressorOutputStream {
private final java.util.zip.GZIPOutputStream out
public void (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream outputStream
public void write (int) throws java.io.IOException
int b
public void close () throws java.io.IOException
}
org/apache/commons/compress/compressors/gzip/GzipUtils.classGzipUtils.java
package org.apache.commons.compress.compressors.gzip
public org.apache.commons.compress.compressors.gzip.GzipUtils extends java.lang.Object {
private static final java.util.Map compressSuffix
private static final java.util.Map uncompressSuffix
private void ()
public static boolean isCompressedFilename (java.lang.String)
int i
String filename
String lower
int n
public static java.lang.String getUncompressedFilename (java.lang.String)
Object suffix
int i
String filename
String lower
int n
public static java.lang.String getCompressedFilename (java.lang.String)
Object suffix
int i
String filename
String lower
int n
static void ()
}
org/apache/commons/compress/utils/ArchiveUtils.classArchiveUtils.java
package org.apache.commons.compress.utils
public org.apache.commons.compress.utils.ArchiveUtils extends java.lang.Object {
private void ()
public static java.lang.String toString (org.apache.commons.compress.archivers.ArchiveEntry)
int i
org.apache.commons.compress.archivers.ArchiveEntry entry
StringBuffer sb
String size
public static boolean matchAsciiBuffer (java.lang.String, byte[], int, int)
java.io.UnsupportedEncodingException e
String expected
byte[] buffer
int offset
int length
byte[] buffer1
public static boolean matchAsciiBuffer (java.lang.String, byte[])
String expected
byte[] buffer
public static byte[] toAsciiBytes (java.lang.String)
java.io.UnsupportedEncodingException e
String inputString
public static java.lang.String toAsciiString (byte[])
java.io.UnsupportedEncodingException e
byte[] inputBytes
public static boolean isEqual (byte[], int, int, byte[], int, int, boolean)
int i
int i
int i
byte[] buffer1
int offset1
int length1
byte[] buffer2
int offset2
int length2
boolean ignoreTrailingNulls
int minLen
public static boolean isEqual (byte[], int, int, byte[], int, int)
byte[] buffer1
int offset1
int length1
byte[] buffer2
int offset2
int length2
public static boolean isEqual (byte[], byte[])
byte[] buffer1
byte[] buffer2
public static boolean isEqual (byte[], byte[], boolean)
byte[] buffer1
byte[] buffer2
boolean ignoreTrailingNulls
public static boolean isEqualWithNull (byte[], int, int, byte[], int, int)
byte[] buffer1
int offset1
int length1
byte[] buffer2
int offset2
int length2
}
org/apache/commons/compress/utils/IOUtils.classIOUtils.java
package org.apache.commons.compress.utils
public final org.apache.commons.compress.utils.IOUtils extends java.lang.Object {
private void ()
public static long copy (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
java.io.InputStream input
java.io.OutputStream output
public static long copy (java.io.InputStream, java.io.OutputStream, int) throws java.io.IOException
java.io.InputStream input
java.io.OutputStream output
int buffersize
byte[] buffer
int n
long count
}
META-INF/maven/
META-INF/maven/org.apache.commons/
META-INF/maven/org.apache.commons/commons-compress/
META-INF/maven/org.apache.commons/commons-compress/pom.xml
META-INF/maven/org.apache.commons/commons-compress/pom.properties