multivalent.std.adaptor

Class ArchiveFileEntry

public class ArchiveFileEntry extends Object

Version: $Revision: 1.2 $ $Date: 2002/02/01 08:56:39 $

Field Summary
longalength
Length in archive (often compressed).
static StringBIN
longchecksum
CRC or other checksum.
longcreate
Creation time in UNIX-style seconds since 1970
static StringDIR
Stringfilename
Filename as found in archive.
longlastmod
Creation time in UNIX-style seconds since 1970
longlength
Length in bytes.
Stringnormal
Normalized filename -- no HTML meta characters (but space OK), perhaps suffix added if computed somehow.
longoffset
Byte offset of file within archive.
intpermissions
Type-dependent permissions.
static StringTXT
Stringtype
File type, taken from constants in this class if possible.
static StringUNKNOWN
Constructor Summary
ArchiveFileEntry(String filename, int permissions, String type, long length, long alength, long offset, long create, long lastmod)
Method Summary
StringtoString()

Field Detail

alength

public long alength
Length in archive (often compressed).

BIN

public static final String BIN

checksum

public long checksum
CRC or other checksum.

create

public long create
Creation time in UNIX-style seconds since 1970. -1 if not known.

DIR

public static final String DIR

filename

public String filename
Filename as found in archive.

lastmod

public long lastmod
Creation time in UNIX-style seconds since 1970. -1 if not known.

length

public long length
Length in bytes.

normal

public String normal
Normalized filename -- no HTML meta characters (but space OK), perhaps suffix added if computed somehow.

offset

public long offset
Byte offset of file within archive.

permissions

public int permissions
Type-dependent permissions.

TXT

public static final String TXT

type

public String type
File type, taken from constants in this class if possible.

UNKNOWN

public static final String UNKNOWN

Constructor Detail

ArchiveFileEntry

public ArchiveFileEntry(String filename, int permissions, String type, long length, long alength, long offset, long create, long lastmod)

Method Detail

toString

public String toString()