org.gnu.gnome
Class Util

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.gnome.Util

public class Util
extends org.gnu.glib.Struct


Constructor Summary
Util()
           
 
Method Summary
static java.lang.String getHomeFile(java.lang.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.
static java.lang.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.
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

getHomeFile

public static java.lang.String getHomeFile(java.lang.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 java.lang.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.