You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
2.0 KiB
52 lines
2.0 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.QIODevice;
|
|
import org.kde.qt.QIODeviceInterface;
|
|
|
|
/**
|
|
|
|
@short
|
|
|
|
*/
|
|
public class KZipFileEntry extends KArchiveFile {
|
|
protected KZipFileEntry(Class dummy){super((Class) null);}
|
|
public KZipFileEntry(KZip zip, String name, int access, int date, String user, String group, String symlink, String path, long start, long uncompressedSize, int encoding, long compressedSize) {
|
|
super((Class) null);
|
|
newKZipFileEntry(zip,name,access,date,user,group,symlink,path,start,uncompressedSize,encoding,compressedSize);
|
|
}
|
|
private native void newKZipFileEntry(KZip zip, String name, int access, int date, String user, String group, String symlink, String path, long start, long uncompressedSize, int encoding, long compressedSize);
|
|
public native int encoding();
|
|
public native long compressedSize();
|
|
public native void setCompressedSize(long compressedSize);
|
|
public native void setHeaderStart(long headerstart);
|
|
public native long headerStart();
|
|
public native long crc32();
|
|
public native void setCRC32(long crc32);
|
|
public native String path();
|
|
/**
|
|
@return the content of this file.
|
|
Call data() with care (only once per file), this data isn't cached.
|
|
|
|
@short
|
|
*/
|
|
public native byte[] data();
|
|
/**
|
|
This method returns a QIODevice to read the file contents.
|
|
This is obviously for reading only.
|
|
Note that the ownership of the device is being transferred to the caller,
|
|
who will have to delete it.
|
|
The returned device auto-opens (in readonly mode), no need to open it.
|
|
@short This method returns a QIODevice to read the file contents.
|
|
*/
|
|
public native QIODeviceInterface device();
|
|
/** Deletes the wrapped C++ instance */
|
|
protected native void finalize() throws InternalError;
|
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
|
public native void dispose();
|
|
/** Has the wrapped C++ instance been deleted? */
|
|
public native boolean isDisposed();
|
|
}
|