org.kde.koala
public class KAr extends KArchive
UNKNOWN: A class for reading ar archives.
| Constructor Summary | |
|---|---|
| protected | KAr(Class dummy) |
| KAr(String filename)
Creates an instance that operates on the given filename. | |
| KAr(QIODeviceInterface dev)
Creates an instance that operates on the given device.
| |
| Method Summary | |
|---|---|
| protected boolean | closeArchive() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| boolean | doneWriting(int size) |
| String | fileName()
The name of the ar file, as passed to the constructor. |
| protected void | finalize() Deletes the wrapped C++ instance |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| protected boolean | openArchive(int mode)
Opens the archive for reading.
|
| boolean | prepareWriting(String name, String user, String group, int size) |
| boolean | writeDir(String name, String user, String group) |
Parameters: filename is a local path (e.g. "/home/holger/myfile.ar")
UNKNOWN: Creates an instance that operates on the given filename.
Parameters: dev the device to read from
UNKNOWN: Creates an instance that operates on the given device.
Returns: the filename. Null if you used the QIODevice constructor
UNKNOWN: The name of the ar file, as passed to the constructor.
UNKNOWN: Opens the archive for reading.