org.kde.koala
public class KArchiveDirectory extends KArchiveEntry
See Also: KArchive KArchiveFile
UNKNOWN: A directory in an archive.
Constructor Summary | |
---|---|
protected | KArchiveDirectory(Class dummy) |
KArchiveDirectory(KArchive archive, String name, int access, int date, String user, String group, String symlink)
Creates a new directory entry. |
Method Summary | |
---|---|
void | addEntry(KArchiveEntry arg1)
Adds a new entry to the directory. |
void | copyTo(String dest, boolean recursive)
Extracts all entries in this archive directory to the directory
dest. |
void | copyTo(String dest) |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
ArrayList | entries()
Returns a list of sub-entries. |
KArchiveEntry | entry(String name)
Returns the entry with the given name. |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDirectory()
Checks whether this entry is a directory. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
Parameters: archive the entries archive name the name of the entry access the permissions in unix format date the date (in seconds since 1970) user the user that owns the entry group the group that owns the entry symlink the symlink, or null
UNKNOWN: Creates a new directory entry.
UNKNOWN:
dest.
Parameters: dest the directory to extract to recursive if set to true, subdirectories are extracted as well
UNKNOWN: Extracts all entries in this archive directory to the directory dest.
Returns: the names of all entries in this directory (filenames, no path).
UNKNOWN: Returns a list of sub-entries.
Parameters: name may be "test1", "mydir/test3", "mydir/mysubdir/test3", etc.
Returns: a pointer to the entry in the directory.
UNKNOWN: Returns the entry with the given name.
Returns: true, since this entry is a directory
UNKNOWN: Checks whether this entry is a directory.