public interface File {
public bool copy_attributes ( File destination,
FileCopyFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool delete ( Cancellable? cancellable )
throws GLib.Error;
public weak File get_child ( string name ) ;
public bool has_prefix ( File prefix ) ;
public bool load_contents ( Cancellable? cancellable,
weak string contents,
ulong length,
weak string etag_out )
throws GLib.Error;
public void load_contents_async ( Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public bool load_contents_finish ( AsyncResult res,
weak string contents,
ulong length,
weak string etag_out )
throws GLib.Error;
public void load_partial_contents_async ( Cancellable? cancellable,
FileReadMoreCallbackread_more_callback,
AsyncReadyCallback callback ) ;
public bool load_partial_contents_finish ( AsyncResult res,
weak string contents,
ulong length,
weak string etag_out )
throws GLib.Error;
public static File new_for_commandline_arg ( string arg ) ;
public static File new_for_path ( string path ) ;
public static File new_for_uri ( string uri ) ;
public static weak File parse_name ( string parse_name ) ;
public weak AppInfo query_default_handler ( Cancellable? cancellable )
throws GLib.Error;
public bool query_exists ( Cancellable? cancellable ) ;
public weak FileInputStream read ( Cancellable? cancellable )
throws GLib.Error;
public bool replace_contents ( string contents,
ulong length,
string etag,
bool make_backup,
FileCreateFlags flags,
weak string new_etag,
Cancellable? cancellable )
throws GLib.Error;
public void replace_contents_async ( string contents,
ulong length,
string etag,
bool make_backup,
FileCreateFlags flags,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public bool replace_contents_finish ( AsyncResult res,
weak string new_etag )
throws GLib.Error;
public bool set_attribute_byte_string ( string attribute,
string value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_int32 ( string attribute,
int value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_int64 ( string attribute,
int64 value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_string ( string attribute,
string value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_uint32 ( string attribute,
uint value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_uint64 ( string attribute,
uint64 value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileOutputStream append_to ( FileCreateFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void append_to_async ( FileCreateFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileOutputStream append_to_finish ( AsyncResult res )
throws GLib.Error;
public abstract bool copy ( File destination,
FileCopyFlags flags,
Cancellable? cancellable,
FileProgressCallbackprogress_callback )
throws GLib.Error;
public abstract void copy_async ( File destination,
FileCopyFlags flags,
int io_priority,
Cancellable? cancellable,
FileProgressCallbackprogress_callback,
AsyncReadyCallback callback ) ;
public abstract bool copy_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak FileOutputStream create ( FileCreateFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void create_async ( FileCreateFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileOutputStream create_finish ( AsyncResult res )
throws GLib.Error;
public abstract bool delete_file ( Cancellable? cancellable )
throws GLib.Error;
public abstract weak File dup ( ) ;
public abstract void eject_mountable ( MountUnmountFlags flags,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract bool eject_mountable_finish ( AsyncResult _result )
throws GLib.Error;
public abstract weak FileEnumerator enumerate_children ( string attributes,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void enumerate_children_async ( string attributes,
FileQueryInfoFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileEnumerator enumerate_children_finish ( AsyncResult res )
throws GLib.Error;
public abstract bool equal ( File file2 ) ;
public abstract weak Mount find_enclosing_mount ( Cancellable? cancellable )
throws GLib.Error;
public abstract void find_enclosing_mount_async ( int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak Mount find_enclosing_mount_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak string get_basename ( ) ;
public abstract weak File get_child_for_display_name ( string display_name )
throws GLib.Error;
public abstract weak File get_parent ( ) ;
public abstract weak string get_parse_name ( ) ;
public abstract weak string get_path ( ) ;
public abstract weak string get_relative_path ( File descendant ) ;
public abstract weak string get_uri ( ) ;
public abstract weak string get_uri_scheme ( ) ;
public abstract bool has_uri_scheme ( string uri_scheme ) ;
public abstract uint hash ( void** file ) ;
public abstract bool is_native ( ) ;
public abstract bool make_directory ( Cancellable? cancellable )
throws GLib.Error;
public abstract bool make_symbolic_link ( string symlink_value,
Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileMonitor monitor_dir ( FileMonitorFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileMonitor monitor_file ( FileMonitorFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void mount_enclosing_volume ( MountMountFlags flags,
MountOperation mount_operation,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract bool mount_enclosing_volume_finish ( AsyncResult _result )
throws GLib.Error;
public abstract void mount_mountable ( MountMountFlags flags,
MountOperation mount_operation,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak File mount_mountable_finish ( AsyncResult _result )
throws GLib.Error;
public abstract bool move ( File destination,
FileCopyFlags flags,
Cancellable? cancellable,
FileProgressCallbackprogress_callback )
throws GLib.Error;
public abstract bool prefix_matches ( File file ) ;
public abstract weak FileInfo query_filesystem_info ( string attributes,
Cancellable? cancellable )
throws GLib.Error;
public abstract void query_filesystem_info_async ( string attributes,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileInfo query_filesystem_info_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak FileInfo query_info ( string attributes,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void query_info_async ( string attributes,
FileQueryInfoFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileInfo query_info_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak FileAttributeInfoList query_settable_attributes ( Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileAttributeInfoList query_writable_namespaces ( Cancellable? cancellable )
throws GLib.Error;
public abstract void read_async ( int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileInputStream read_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak FileInputStream read_fn ( Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileOutputStream replace ( string etag,
bool make_backup,
FileCreateFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void replace_async ( string etag,
bool make_backup,
FileCreateFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileOutputStream replace_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak File resolve_relative_path ( string relative_path ) ;
public abstract bool set_attribute ( string attribute,
FileAttributeType type,
void** value_p,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void set_attributes_async ( FileInfo info,
FileQueryInfoFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract bool set_attributes_finish ( AsyncResult _result,
weak FileInfo info )
throws GLib.Error;
public abstract bool set_attributes_from_info ( FileInfo info,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract weak File set_display_name ( string display_name,
Cancellable? cancellable )
throws GLib.Error;
public abstract void set_display_name_async ( string display_name,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak File set_display_name_finish ( AsyncResult res )
throws GLib.Error;
public abstract bool trash ( Cancellable? cancellable )
throws GLib.Error;
public abstract void unmount_mountable ( MountUnmountFlags flags,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract bool unmount_mountable_finish ( AsyncResult _result )
throws GLib.Error;
}
public bool copy_attributes ( File destination,
FileCopyFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool delete ( Cancellable? cancellable )
throws GLib.Error;
public weak File get_child ( string name ) ;
public bool has_prefix ( File prefix ) ;
public bool load_contents ( Cancellable? cancellable,
weak string contents,
ulong length,
weak string etag_out )
throws GLib.Error;
public void load_contents_async ( Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public bool load_contents_finish ( AsyncResult res,
weak string contents,
ulong length,
weak string etag_out )
throws GLib.Error;
public void load_partial_contents_async ( Cancellable? cancellable,
FileReadMoreCallbackread_more_callback,
AsyncReadyCallback callback ) ;
public bool load_partial_contents_finish ( AsyncResult res,
weak string contents,
ulong length,
weak string etag_out )
throws GLib.Error;
public static File new_for_commandline_arg ( string arg ) ;
public static File new_for_path ( string path ) ;
public static File new_for_uri ( string uri ) ;
public static weak File parse_name ( string parse_name ) ;
public weak AppInfo query_default_handler ( Cancellable? cancellable )
throws GLib.Error;
public bool query_exists ( Cancellable? cancellable ) ;
public weak FileInputStream read ( Cancellable? cancellable )
throws GLib.Error;
public bool replace_contents ( string contents,
ulong length,
string etag,
bool make_backup,
FileCreateFlags flags,
weak string new_etag,
Cancellable? cancellable )
throws GLib.Error;
public void replace_contents_async ( string contents,
ulong length,
string etag,
bool make_backup,
FileCreateFlags flags,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public bool replace_contents_finish ( AsyncResult res,
weak string new_etag )
throws GLib.Error;
public bool set_attribute_byte_string ( string attribute,
string value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_int32 ( string attribute,
int value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_int64 ( string attribute,
int64 value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_string ( string attribute,
string value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_uint32 ( string attribute,
uint value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public bool set_attribute_uint64 ( string attribute,
uint64 value,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileOutputStream append_to ( FileCreateFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void append_to_async ( FileCreateFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileOutputStream append_to_finish ( AsyncResult res )
throws GLib.Error;
public abstract bool copy ( File destination,
FileCopyFlags flags,
Cancellable? cancellable,
FileProgressCallbackprogress_callback )
throws GLib.Error;
public abstract void copy_async ( File destination,
FileCopyFlags flags,
int io_priority,
Cancellable? cancellable,
FileProgressCallbackprogress_callback,
AsyncReadyCallback callback ) ;
public abstract bool copy_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak FileOutputStream create ( FileCreateFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void create_async ( FileCreateFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileOutputStream create_finish ( AsyncResult res )
throws GLib.Error;
public abstract bool delete_file ( Cancellable? cancellable )
throws GLib.Error;
public abstract weak File dup ( ) ;
public abstract void eject_mountable ( MountUnmountFlags flags,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract bool eject_mountable_finish ( AsyncResult _result )
throws GLib.Error;
public abstract weak FileEnumerator enumerate_children ( string attributes,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void enumerate_children_async ( string attributes,
FileQueryInfoFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileEnumerator enumerate_children_finish ( AsyncResult res )
throws GLib.Error;
public abstract bool equal ( File file2 ) ;
public abstract weak Mount find_enclosing_mount ( Cancellable? cancellable )
throws GLib.Error;
public abstract void find_enclosing_mount_async ( int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak Mount find_enclosing_mount_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak string get_basename ( ) ;
public abstract weak File get_child_for_display_name ( string display_name )
throws GLib.Error;
public abstract weak File get_parent ( ) ;
public abstract weak string get_parse_name ( ) ;
public abstract weak string get_path ( ) ;
public abstract weak string get_relative_path ( File descendant ) ;
public abstract weak string get_uri ( ) ;
public abstract weak string get_uri_scheme ( ) ;
public abstract bool has_uri_scheme ( string uri_scheme ) ;
public abstract uint hash ( void** file ) ;
public abstract bool is_native ( ) ;
public abstract bool make_directory ( Cancellable? cancellable )
throws GLib.Error;
public abstract bool make_symbolic_link ( string symlink_value,
Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileMonitor monitor_dir ( FileMonitorFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileMonitor monitor_file ( FileMonitorFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void mount_enclosing_volume ( MountMountFlags flags,
MountOperation mount_operation,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract bool mount_enclosing_volume_finish ( AsyncResult _result )
throws GLib.Error;
public abstract void mount_mountable ( MountMountFlags flags,
MountOperation mount_operation,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak File mount_mountable_finish ( AsyncResult _result )
throws GLib.Error;
public abstract bool move ( File destination,
FileCopyFlags flags,
Cancellable? cancellable,
FileProgressCallbackprogress_callback )
throws GLib.Error;
public abstract bool prefix_matches ( File file ) ;
public abstract weak FileInfo query_filesystem_info ( string attributes,
Cancellable? cancellable )
throws GLib.Error;
public abstract void query_filesystem_info_async ( string attributes,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileInfo query_filesystem_info_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak FileInfo query_info ( string attributes,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void query_info_async ( string attributes,
FileQueryInfoFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileInfo query_info_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak FileAttributeInfoList query_settable_attributes ( Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileAttributeInfoList query_writable_namespaces ( Cancellable? cancellable )
throws GLib.Error;
public abstract void read_async ( int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileInputStream read_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak FileInputStream read_fn ( Cancellable? cancellable )
throws GLib.Error;
public abstract weak FileOutputStream replace ( string etag,
bool make_backup,
FileCreateFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void replace_async ( string etag,
bool make_backup,
FileCreateFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak FileOutputStream replace_finish ( AsyncResult res )
throws GLib.Error;
public abstract weak File resolve_relative_path ( string relative_path ) ;
public abstract bool set_attribute ( string attribute,
FileAttributeType type,
void** value_p,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract void set_attributes_async ( FileInfo info,
FileQueryInfoFlags flags,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract bool set_attributes_finish ( AsyncResult _result,
weak FileInfo info )
throws GLib.Error;
public abstract bool set_attributes_from_info ( FileInfo info,
FileQueryInfoFlags flags,
Cancellable? cancellable )
throws GLib.Error;
public abstract weak File set_display_name ( string display_name,
Cancellable? cancellable )
throws GLib.Error;
public abstract void set_display_name_async ( string display_name,
int io_priority,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract weak File set_display_name_finish ( AsyncResult res )
throws GLib.Error;
public abstract bool trash ( Cancellable? cancellable )
throws GLib.Error;
public abstract void unmount_mountable ( MountUnmountFlags flags,
Cancellable? cancellable,
AsyncReadyCallback callback ) ;
public abstract bool unmount_mountable_finish ( AsyncResult _result )
throws GLib.Error;
Created by Valadoc