org.gnu.gnome

Class Util

public class Util extends Struct

Method Summary
static StringgetHomeFile(String afile)
Pass in a string, and it will prepend $HOME/.gnome2/ to it.
static StringgetUserShell()
Returns the name of the user's shell.

Method Detail

getHomeFile

public static String getHomeFile(String afile)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Pass in a string, and it will prepend $HOME/.gnome2/ to it.

getUserShell

public static String getUserShell()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Returns the name of the user's shell.