|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KArchiveEntry
public class KArchiveEntry
A base class for entries in an KArchive.
KArchiveFile
,
KArchiveDirectory
Constructor Summary | |
---|---|
protected |
KArchiveEntry(java.lang.Class dummy)
|
|
KArchiveEntry(KArchive archive,
java.lang.String name,
int access,
int date,
java.lang.String user,
java.lang.String group,
java.lang.String symlink)
Creates a new entry. |
Method Summary | |
---|---|
protected KArchive |
archive()
|
int |
date()
Creation date of the file. |
java.util.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 |
java.lang.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. |
java.lang.String |
name()
Name of the file without path. |
long |
permissions()
The permissions and mode flags as returned by the stat() function in st_mode. |
java.lang.String |
symlink()
Symlink if there is one. |
java.lang.String |
user()
User who created the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KArchiveEntry(java.lang.Class dummy)
public KArchiveEntry(KArchive archive, java.lang.String name, int access, int date, java.lang.String user, java.lang.String group, java.lang.String symlink)
archive
- the entries archivename
- the name of the entryaccess
- the permissions in unix formatdate
- the date (in seconds since 1970)user
- the user that owns the entrygroup
- the group that owns the entrysymlink
- the symlink, or nullMethod Detail |
---|
public java.util.Calendar datetime()
public int date()
public java.lang.String name()
public long permissions()
public java.lang.String user()
public java.lang.String group()
public java.lang.String symlink()
public boolean isFile()
public boolean isDirectory()
protected KArchive archive()
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |