Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
R
S
T
U
A
Archive
- interface eap.tar.
Archive
.
Provides a general framework for reading a collection of directories and files.
actionPerformed(ActionEvent)
- Method in class eap.tar.
Unpacker
Responds to the "Download" button
available()
- Method in class eap.tar.
LimitedInputStream
Returns the number of bytes remaining before EOF.
B
BLOCK_SIZE
- Static variable in class eap.tar.
TarFile
The number of bytes in a tar block.
BLOCK_SPECIAL_DEV_TYPE
- Static variable in class eap.tar.
TarHeader
C
CHARACTER_SPECIAL_DEV_TYPE
- Static variable in class eap.tar.
TarHeader
close()
- Method in class eap.tar.
LimitedInputStream
This method skips to the limit, but does not close the underlying input stream.
D
DIRECTORY_TYPE
- Static variable in class eap.tar.
TarHeader
E
eap.filter
- package eap.filter
eap.tar
- package eap.tar
Gives support for reading tar format files.
F
FIFO_TYPE
- Static variable in class eap.tar.
TarHeader
FILE_TYPE
- Static variable in class eap.tar.
TarHeader
G
getBytesRead()
- Method in class eap.tar.
LimitedInputStream
Returns the number of bytes which have been read from this stream since it was created.
getEntryName()
- Method in interface eap.tar.
Archive
Returns the name of the current archive entry.
getEntryName()
- Method in class eap.tar.
TarFile
Returns the name of the current archive entry.
getFormat()
- Method in class eap.tar.
TarHeader
Returns the format of this tar file.
getLength()
- Method in class eap.tar.
LimitedInputStream
Returns the total number of bytes which can be read by this stream.
getName()
- Method in class eap.tar.
TarHeader
Returns the name of the tar entry.
getSize()
- Method in class eap.tar.
TarHeader
Returns the number of bytes in the tar entry.
getStream()
- Method in interface eap.tar.
Archive
Returns a stream which will read the current file.
getStream()
- Method in class eap.tar.
TarFile
Returns a stream which will read the current file.
getTarHeader()
- Method in class eap.tar.
TarFile
Returns the
TarHeader
object for the current entry.
H
HARD_LINK_TYPE
- Static variable in class eap.tar.
TarHeader
hasNextEntry()
- Method in interface eap.tar.
Archive
Tests if there are more entries in this archive after the current one.
hasNextEntry()
- Method in class eap.tar.
TarFile
Checks if there are more entries in this archive.
I
init()
- Method in class eap.tar.
Unpacker
This method is called after the browser loads the applet.
isDirectory()
- Method in interface eap.tar.
Archive
Tests If the current entry is a directory.
isDirectory()
- Method in class eap.tar.
TarFile
Tests if thecurrent entry is a directory
isDirectory()
- Method in class eap.tar.
TarHeader
Returns true if the entry is a directory.
isEOF()
- Method in class eap.tar.
TarHeader
Returns true if the header is actuall the all zero EOF marker at the end of a tar.
isFile()
- Method in interface eap.tar.
Archive
Tests If the current entry is a regular file.
isFile()
- Method in class eap.tar.
TarFile
Tests if the current entry is a regular file.
isFile()
- Method in class eap.tar.
TarHeader
Returns true if the entry is a regular file.
L
LimitedInputStream
- class eap.tar.
LimitedInputStream
.
Reads a subset of another stream.
LimitedInputStream(InputStream, long)
- Constructor for class eap.tar.
LimitedInputStream
Create a new stream.
M
mark(int)
- Method in class eap.tar.
LimitedInputStream
sets a mark in the underlying stream.
markSupported()
- Method in class eap.tar.
LimitedInputStream
Returns true if the underlying stream supports marks.
message(String)
- Method in class eap.tar.
Unpacker
Reports a message to the user.
N
nextEntry()
- Method in interface eap.tar.
Archive
Advances to the next entry in the archive.
nextEntry()
- Method in class eap.tar.
TarFile
Advances to the next entry in the archive.
O
open(String)
- Method in class eap.tar.
Unpacker
Create an
Archive
corresponding to the given source.
R
read()
- Method in class eap.tar.
LimitedInputStream
Read a single byte
read(byte[], int, int)
- Method in class eap.tar.
LimitedInputStream
Read a block of bytes.
read(byte[])
- Method in class eap.tar.
LimitedInputStream
Read a block of bytes.
read(InputStream)
- Method in class eap.tar.
TarHeader
Read the contents of this header from a data stream.
reset()
- Method in class eap.tar.
LimitedInputStream
Resets the underlying stream and also adjusts the bytes read accounting.
run()
- Method in class eap.tar.
Unpacker
Implements the Runnable interface.
S
SYMBOLIC_LINK_TYPE
- Static variable in class eap.tar.
TarHeader
skip(long)
- Method in class eap.tar.
LimitedInputStream
Skip over a number of bytes.
T
TarFile
- class eap.tar.
TarFile
.
Reads tar format file.
TarFile(InputStream)
- Constructor for class eap.tar.
TarFile
Creates a new tar file which will read data from the given input stream.
TarHeader
- class eap.tar.
TarHeader
.
Holds information about a single entry in a tar file.
TarHeader()
- Constructor for class eap.tar.
TarHeader
Create a new header.
TruncatedException
- exception eap.tar.
TruncatedException
.
Thrown when a data stream is not as long as expected.
TruncatedException()
- Constructor for class eap.tar.
TruncatedException
Creates a new exception with no message
TruncatedException(String)
- Constructor for class eap.tar.
TruncatedException
Creates a new exception with the given message
U
Unpacker
- class eap.tar.
Unpacker
.
An applet for downloading and unpacking a tar file.
Unpacker()
- Constructor for class eap.tar.
Unpacker
Create a new applet.
unpack(File)
- Method in class eap.tar.
Unpacker
Unpack the archive
A
B
C
D
E
F
G
H
I
L
M
N
O
R
S
T
U
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes