|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.file.AbstractFile
com.mucommander.file.impl.ProxyFile
com.mucommander.file.AbstractArchiveFile
com.mucommander.file.AbstractROArchiveFile
com.mucommander.file.impl.ar.ArArchiveFile
public class ArArchiveFile
ArArchiveFile provides read-only access to archives in the unix AR format. Both the BSD and GNU variants (which adds support for extended filenames) are supported.
ArFormatProvider| Field Summary |
|---|
| Fields inherited from class com.mucommander.file.AbstractArchiveFile |
|---|
entryTreeDate, entryTreeRoot |
| Fields inherited from class com.mucommander.file.impl.ProxyFile |
|---|
file |
| Fields inherited from class com.mucommander.file.AbstractFile |
|---|
DEFAULT_SEPARATOR, fileURL, IO_BUFFER_SIZE, MUST_HINT, MUST_NOT_HINT, SHOULD_HINT, SHOULD_NOT_HINT, windowsDriveRootPattern |
| Fields inherited from interface com.mucommander.file.PermissionTypes |
|---|
EXECUTE_PERMISSION, READ_PERMISSION, WRITE_PERMISSION |
| Fields inherited from interface com.mucommander.file.PermissionAccesses |
|---|
GROUP_ACCESS, OTHER_ACCESS, USER_ACCESS |
| Constructor Summary | |
|---|---|
ArArchiveFile(AbstractFile file)
Creates a ArArchiveFile around the given file. |
|
| Method Summary | |
|---|---|
java.util.Vector |
getEntries()
Returns a Vector of ArchiveEntry, representing all the entries this archive file contains. |
java.io.InputStream |
getEntryInputStream(ArchiveEntry entry)
Returns an InputStream to read from the given archive entry. |
| Methods inherited from class com.mucommander.file.AbstractROArchiveFile |
|---|
isWritableArchive |
| Methods inherited from class com.mucommander.file.AbstractArchiveFile |
|---|
addToEntriesTree, canRunProcess, checkEntriesTree, createEntriesTree, declareEntriesTreeUpToDate, getArchiveEntryFile, getArchiveEntryFile, getFreeSpace, isBrowsable, isDirectory, ls, ls, ls, ls, ls, removeFromEntriesTree, runProcess |
| Methods inherited from class com.mucommander.file.AbstractFile |
|---|
addTrailingSeparator, calculateChecksum, calculateChecksum, calculateChecksum, changePermissions, checkCopyPrerequisites, copyRecursively, deleteRecursively, getAbsolutePath, getAncestor, getAncestor, getCanonicalPath, getChild, getDirectChild, getExtension, getIcon, getIcon, getNameWithoutExtension, getParentArchive, getParentSilently, getTopAncestor, hasAncestor, hasAncestor, isParentOf, mkdir, mkdirs, mkfile, removeTrailingSeparator |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArArchiveFile(AbstractFile file)
| Method Detail |
|---|
public java.util.Vector getEntries()
throws java.io.IOException
AbstractArchiveFileArchiveEntry, representing all the entries this archive file contains.
This method will be called the first time one of the ls() is called. If will not be further called,
unless the file's date has changed since the last time one of the ls() methods was called.
getEntries in class AbstractArchiveFilejava.io.IOException
public java.io.InputStream getEntryInputStream(ArchiveEntry entry)
throws java.io.IOException
AbstractArchiveFileArchiveEntry instance is
necessarily one of the entries that were returned by AbstractArchiveFile.getEntries().
getEntryInputStream in class AbstractArchiveFilejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard