KDE input / output

from Wikipedia, the free encyclopedia

KDE Input / Output ( KIO ) is an asynchronous virtual file system. Virtual means that the data user ( client ) is offered a uniform programming interface (API), regardless of which method is actually used to access the data. For each of these methods, i.e. communication protocols such as HTTP , FTP , SSH , WebDAV , POP3 , IMAP , Bluetooth and many others, a specific KIO slave is available that implements the necessary protocol conversion for the uniform interface. Different types of archives such as tar , cpio and zip as well as different local sources ( audio CD , USB stick , ...) can be handled in this way.

purpose

The basic idea of ​​this concept is that there is no need to write a separate new client to handle each newly added protocol for its use . With the Kio slave concept, it is sufficient to develop and register another Kio slave. This then provides uniform file access for KDE applications via the virtual file system without them having to know anything about how it actually works. Konqueror , Dolphin and other KDE programs can work together via this API to access network shares or devices ( Bluetooth ), for example , without having to consider or know any difference to the usual files. This often results in efficient and more convenient options for the user than doing the same, usually complex, tasks, for example via the console .

Application examples

Convert the pieces of an audio CD to Ogg Vorbis

Enter the pseudo URI audiocd: / in a subwindow with Konqueror . Then you can see the content of the audio CD. There is a subdirectory Ogg /, the contents of which are simply copied into a directory on the hard disk. The audio CD KIO slave does the conversion automatically while copying. This also works in the same way for converting to WAV or other container formats / file formats .

See also

Web links