[fedora-java] DBus and Java
Robin Green
greenrd at presidium.org
Sun Mar 27 12:56:05 UTC 2005
On Sun, 27 Mar 2005, Joe Desbonnet wrote:
> I understand that the long term plan with Fedora is to expose all
> system configuration information via DBus. Are there any Java bindings
> for this yet?
>
> Part of the reason I ask is I'm wondering what is (or will be) the
> correct way to query locally installed RPMs.
Can't you just use
Process p = Runtime.exec ("rpm -q " + packageName)
InputStream in = p.getInputStream ();
// Read query results from in
?
--
Robin
More information about the java-devel
mailing list