<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3ASoroush%2FTests</id>
	<title>User:Soroush/Tests - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3ASoroush%2FTests"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Soroush/Tests&amp;action=history"/>
	<updated>2026-05-25T14:14:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=User:Soroush/Tests&amp;diff=3118&amp;oldid=prev</id>
		<title>Soroush: New page: &lt;pre&gt; import org.freedesktop.DBus; import org.freedesktop.dbus.DBusConnection; import org.freedesktop.dbus.exceptions.DBusException;  import org.apertium.Info; // The interface we use to a...</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Soroush/Tests&amp;diff=3118&amp;oldid=prev"/>
		<updated>2007-12-19T13:04:39Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;pre&amp;gt; import org.freedesktop.DBus; import org.freedesktop.dbus.DBusConnection; import org.freedesktop.dbus.exceptions.DBusException;  import org.apertium.Info; // The interface we use to a...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
import org.freedesktop.DBus;&lt;br /&gt;
import org.freedesktop.dbus.DBusConnection;&lt;br /&gt;
import org.freedesktop.dbus.exceptions.DBusException;&lt;br /&gt;
&lt;br /&gt;
import org.apertium.Info; // The interface we use to access org.apertium.info/&lt;br /&gt;
&lt;br /&gt;
class TestDBus {&lt;br /&gt;
&lt;br /&gt;
        public static void main(String[] args) throws org.freedesktop.dbus.exceptions.DBusException {&lt;br /&gt;
                DBusConnection bus = null;&lt;br /&gt;
                Info info = null;&lt;br /&gt;
&lt;br /&gt;
                bus = DBusConnection.getConnection(DBusConnection.SESSION);&lt;br /&gt;
                info = bus.getRemoteObject(&amp;quot;org.apertium.info&amp;quot;, &amp;quot;/&amp;quot;, Info.class);&lt;br /&gt;
&lt;br /&gt;
                for (String s : info.modes()) {&lt;br /&gt;
                        System.out.println(s);&lt;br /&gt;
                }&lt;br /&gt;
&lt;br /&gt;
                bus.disconnect();&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Soroush</name></author>
		
	</entry>
</feed>