org.kde.koala
public class KArchiveEntry extends Object implements QtSupport
See Also: KArchiveFile KArchiveDirectory
UNKNOWN: Base class for the archive-file's directory structure.
Constructor Summary | |
---|---|
protected | KArchiveEntry(Class dummy) |
KArchiveEntry(KArchive archive, String name, int access, int date, String user, String group, String symlink)
Creates a new entry. |
Method Summary | |
---|---|
protected KArchive | archive() |
int | date()
Creation date of the file. |
Calendar | datetime()
Creation date of the file. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
String | group()
Group of the user who created the file. |
boolean | isDirectory()
Checks whether the entry is a directory. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isFile()
Checks whether the entry is a file. |
String | name()
Name of the file without path. |
long | permissions()
The permissions and mode flags as returned by the stat() function
in st_mode. |
String | symlink()
Symlink if there is one. |
String | user()
User who created the file. |
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 entry.
Returns: the creation date in seconds since 1970
UNKNOWN: Creation date of the file.
Returns: the creation date
UNKNOWN: Creation date of the file.
Returns: the group of the file
UNKNOWN: Group of the user who created the file.
Returns: true if this entry is a directory
UNKNOWN: Checks whether the entry is a directory.
Returns: true if this entry is a file
UNKNOWN: Checks whether the entry is a file.
Returns: the file name without path
UNKNOWN: Name of the file without path.
Returns: the permissions
UNKNOWN: The permissions and mode flags as returned by the stat() function in st_mode.
Returns: the symlink, or null
UNKNOWN: Symlink if there is one.
Returns: the owner of the file
UNKNOWN: User who created the file.