io.qt.core.internal.QFSFileEngine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core.internal;
/**
* Java wrapper for Qt class QFSFileEngine
*/
public class QFSFileEngine extends io.qt.core.internal.QAbstractFileEngine
{
public QFSFileEngine(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QFSFileEngine instance);
public QFSFileEngine(java.lang.String file){
super((QPrivateConstructor)null);
initialize_native(this, file);
}
private native static void initialize_native(QFSFileEngine instance, java.lang.String file);
@io.qt.QtUninvokable
public final boolean open(io.qt.core.QIODeviceBase.OpenMode flags, int fd){
return open_native_QFlags_QIODeviceBase_OpenModeFlag__int(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value(), fd);
}
@io.qt.QtUninvokable
private native boolean open_native_QFlags_QIODeviceBase_OpenModeFlag__int(long __this__nativeId, int flags, int fd);
/**
* Overloaded function for {@link #open(io.qt.core.QIODeviceBase.OpenMode, int, io.qt.core.QFileDevice.FileHandleFlags)}.
*/
@io.qt.QtUninvokable
public final boolean open(io.qt.core.QIODeviceBase.OpenMode flags, int fd, io.qt.core.QFileDevice.FileHandleFlag ... handleFlags){
return open(flags, fd, new io.qt.core.QFileDevice.FileHandleFlags(handleFlags));
}
@io.qt.QtUninvokable
public final boolean open(io.qt.core.QIODeviceBase.OpenMode flags, int fd, io.qt.core.QFileDevice.FileHandleFlags handleFlags){
return open_native_QFlags_QIODeviceBase_OpenModeFlag__int_QFlags_QFileDevice_FileHandleFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value(), fd, handleFlags.value());
}
@io.qt.QtUninvokable
private native boolean open_native_QFlags_QIODeviceBase_OpenModeFlag__int_QFlags_QFileDevice_FileHandleFlag_(long __this__nativeId, int flags, int fd, int handleFlags);
@io.qt.QtUninvokable
public io.qt.core.internal.QAbstractFileEngineIterator beginEntryList(io.qt.core.QDir.Filters filters, java.util.Collection filterNames){
return beginEntryList_native_QFlags_QDir_Filter__cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), filters.value(), filterNames);
}
@io.qt.QtUninvokable
private native io.qt.core.internal.QAbstractFileEngineIterator beginEntryList_native_QFlags_QDir_Filter__cref_QStringList(long __this__nativeId, int filters, java.util.Collection filterNames);
@io.qt.QtUninvokable
public boolean caseSensitive(){
return caseSensitive_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean caseSensitive_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public boolean cloneTo(io.qt.core.internal.QAbstractFileEngine target){
return cloneTo_native_QAbstractFileEngine_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(target));
}
@io.qt.QtUninvokable
private native boolean cloneTo_native_QAbstractFileEngine_ptr(long __this__nativeId, long target);
@io.qt.QtUninvokable
public boolean close(){
return close_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean close_native(long __this__nativeId);
@io.qt.QtUninvokable
public boolean copy(java.lang.String newName){
return copy_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), newName);
}
@io.qt.QtUninvokable
private native boolean copy_native_cref_QString(long __this__nativeId, java.lang.String newName);
@io.qt.QtUninvokable
public io.qt.core.internal.QAbstractFileEngineIterator endEntryList(){
return endEntryList_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.internal.QAbstractFileEngineIterator endEntryList_native(long __this__nativeId);
@io.qt.QtUninvokable
public java.util.List entryList(io.qt.core.QDir.Filters filters, java.util.Collection filterNames){
return entryList_native_QFlags_QDir_Filter__cref_QStringList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), filters.value(), filterNames);
}
@io.qt.QtUninvokable
private native java.util.List entryList_native_QFlags_QDir_Filter__cref_QStringList_constfct(long __this__nativeId, int filters, java.util.Collection filterNames);
@io.qt.QtUninvokable
public io.qt.core.internal.QAbstractFileEngine.FileFlags fileFlags(io.qt.core.internal.QAbstractFileEngine.FileFlags type){
return new io.qt.core.internal.QAbstractFileEngine.FileFlags(fileFlags_native_QFlags_QAbstractFileEngine_FileFlag__constfct(QtJambi_LibraryUtilities.internal.nativeId(this), type.value()));
}
@io.qt.QtUninvokable
private native int fileFlags_native_QFlags_QAbstractFileEngine_FileFlag__constfct(long __this__nativeId, int type);
@io.qt.QtUninvokable
public java.lang.String fileName(io.qt.core.internal.QAbstractFileEngine.FileName file){
return fileName_native_QAbstractFileEngine_FileName_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), file.value());
}
@io.qt.QtUninvokable
private native java.lang.String fileName_native_QAbstractFileEngine_FileName_constfct(long __this__nativeId, int file);
@io.qt.QtUninvokable
public io.qt.core.QDateTime fileTime(io.qt.core.internal.QAbstractFileEngine.FileTime time){
return fileTime_native_QAbstractFileEngine_FileTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), time.value());
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime fileTime_native_QAbstractFileEngine_FileTime_constfct(long __this__nativeId, int time);
@io.qt.QtUninvokable
public boolean flush(){
return flush_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean flush_native(long __this__nativeId);
@io.qt.QtUninvokable
public int handle(){
return handle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int handle_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public io.qt.core.QByteArray id(){
return id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QByteArray id_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public boolean isRelativePath(){
return isRelativePath_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isRelativePath_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public boolean isSequential(){
return isSequential_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isSequential_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public boolean isUnnamedFile(){
return isUnnamedFile_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isUnnamedFile_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public boolean link(java.lang.String newName){
return link_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), newName);
}
@io.qt.QtUninvokable
private native boolean link_native_cref_QString(long __this__nativeId, java.lang.String newName);
@io.qt.QtUninvokable
public boolean mkdir(java.lang.String dirName, boolean createParentDirectories){
return mkdir_native_cref_QString_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), dirName, createParentDirectories);
}
@io.qt.QtUninvokable
private native boolean mkdir_native_cref_QString_bool_constfct(long __this__nativeId, java.lang.String dirName, boolean createParentDirectories);
@io.qt.QtUninvokable
public boolean open(io.qt.core.QIODeviceBase.OpenMode openMode){
return open_native_QFlags_QIODeviceBase_OpenModeFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), openMode.value());
}
@io.qt.QtUninvokable
private native boolean open_native_QFlags_QIODeviceBase_OpenModeFlag_(long __this__nativeId, int openMode);
@io.qt.QtUninvokable
public java.lang.String owner(io.qt.core.internal.QAbstractFileEngine.FileOwner arg__1){
return owner_native_QAbstractFileEngine_FileOwner_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@io.qt.QtUninvokable
private native java.lang.String owner_native_QAbstractFileEngine_FileOwner_constfct(long __this__nativeId, int arg__1);
@io.qt.QtUninvokable
public int ownerId(io.qt.core.internal.QAbstractFileEngine.FileOwner arg__1){
return ownerId_native_QAbstractFileEngine_FileOwner_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@io.qt.QtUninvokable
private native int ownerId_native_QAbstractFileEngine_FileOwner_constfct(long __this__nativeId, int arg__1);
@io.qt.QtUninvokable
public long pos(){
return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native long pos_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public int read(byte[] data){
return read_native_char_ptr_long_long(QtJambi_LibraryUtilities.internal.nativeId(this), data);
}
@io.qt.QtUninvokable
private native int read_native_char_ptr_long_long(long __this__nativeId, byte[] data);
@io.qt.QtUninvokable
public int readLine(byte[] data){
return readLine_native_char_ptr_long_long(QtJambi_LibraryUtilities.internal.nativeId(this), data);
}
@io.qt.QtUninvokable
private native int readLine_native_char_ptr_long_long(long __this__nativeId, byte[] data);
@io.qt.QtUninvokable
public boolean remove(){
return remove_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean remove_native(long __this__nativeId);
@io.qt.QtUninvokable
public boolean rename(java.lang.String newName){
return rename_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), newName);
}
@io.qt.QtUninvokable
private native boolean rename_native_cref_QString(long __this__nativeId, java.lang.String newName);
@io.qt.QtUninvokable
public boolean renameOverwrite(java.lang.String newName){
return renameOverwrite_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), newName);
}
@io.qt.QtUninvokable
private native boolean renameOverwrite_native_cref_QString(long __this__nativeId, java.lang.String newName);
@io.qt.QtUninvokable
public boolean rmdir(java.lang.String dirName, boolean recurseParentDirectories){
return rmdir_native_cref_QString_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), dirName, recurseParentDirectories);
}
@io.qt.QtUninvokable
private native boolean rmdir_native_cref_QString_bool_constfct(long __this__nativeId, java.lang.String dirName, boolean recurseParentDirectories);
@io.qt.QtUninvokable
public boolean seek(long arg__1){
return seek_native_long_long(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native boolean seek_native_long_long(long __this__nativeId, long arg__1);
@io.qt.QtUninvokable
public void setFileName(java.lang.String file){
setFileName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), file);
}
@io.qt.QtUninvokable
private native void setFileName_native_cref_QString(long __this__nativeId, java.lang.String file);
@io.qt.QtUninvokable
public boolean setFileTime(io.qt.core.QDateTime newDate, io.qt.core.internal.QAbstractFileEngine.FileTime time){
return setFileTime_native_cref_QDateTime_QAbstractFileEngine_FileTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newDate), time.value());
}
@io.qt.QtUninvokable
private native boolean setFileTime_native_cref_QDateTime_QAbstractFileEngine_FileTime(long __this__nativeId, long newDate, int time);
@io.qt.QtUninvokable
public boolean setPermissions(int perms){
return setPermissions_native_uint(QtJambi_LibraryUtilities.internal.nativeId(this), perms);
}
@io.qt.QtUninvokable
private native boolean setPermissions_native_uint(long __this__nativeId, int perms);
@io.qt.QtUninvokable
public boolean setSize(long size){
return setSize_native_long_long(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@io.qt.QtUninvokable
private native boolean setSize_native_long_long(long __this__nativeId, long size);
@io.qt.QtUninvokable
public long size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native long size_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public boolean syncToDisk(){
return syncToDisk_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean syncToDisk_native(long __this__nativeId);
@io.qt.QtUninvokable
public int write(byte[] data){
return write_native_const_char_ptr_long_long(QtJambi_LibraryUtilities.internal.nativeId(this), data);
}
@io.qt.QtUninvokable
private native int write_native_const_char_ptr_long_long(long __this__nativeId, byte[] data);
/**
* Overloaded function for {@link #currentPath(java.lang.String)}
* with path = ""
.
*/
public static java.lang.String currentPath() {
return currentPath("");
}
public native static java.lang.String currentPath(java.lang.String path);
public native static io.qt.core.QList drives();
public native static java.lang.String homePath();
public native static java.lang.String rootPath();
public native static boolean setCurrentPath(java.lang.String path);
public native static java.lang.String tempPath();
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QFSFileEngine(QPrivateConstructor p) { super(p); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy