1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="gio" xml:lang="sv">
<info>
<link type="guide" xref="index" group="gio"/>
<desc>Asynchronous file and URI handling with access
to file and volume info</desc>
<revision pkgversion="3.0" date="2011-04-05" status="review"/>
</info>
<title>GIO Files</title>
<p>GIO provides APIs for asynchronously reading and writing files and
other streams. Files are referenced by URIs, and local backends can
provide access to more than just local files. When running under the
GNOME desktop, GIO uses GVfs to allow access to files over SFTP, FTP,
WebDAV, SMB, and other popular protocols. This transparent network
file access is free to all applications using GIO.</p>
<p>The GIO file APIs were designed to be used in event-driven graphical
interfaces. The non-blocking, asynchronous design means your user interface
doesn't hang while waiting for a file. There are also synchronous versions
of the APIs available, which are sometimes more convenient for worker
threads or processes.</p>
<p>GIO also provides routines for managing drives and volumes, querying
file types and icons, and finding applications to open files.</p>
<list style="compact">
<item><p><link href="http://developer.gnome.org/gio/stable/">GIO Reference Manual</link></p></item>
</list>
</page>
|