com.izforge.izpack.util
Class UnixHelper

java.lang.Object
  extended by com.izforge.izpack.util.UnixHelper

public class UnixHelper
extends java.lang.Object

Help Methods for unix-systems and derived.

Author:
marc.eppelmann@reddot.de

Constructor Summary
UnixHelper()
           
 
Method Summary
static boolean kdeIsInstalled()
          Test if KDE is installed.
static void main(java.lang.String[] args)
          Testmain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnixHelper

public UnixHelper()
Method Detail

main

public static void main(java.lang.String[] args)
Testmain

Parameters:
args - commandline args

kdeIsInstalled

public static boolean kdeIsInstalled()
Test if KDE is installed. This is done by $>/usr/bin/env konqueror --version This assumes that the konqueror as a main-app of kde is already installed. If this returns with 0 konqeror and resp. kde means to be installed,

Returns:
true if kde is installed otherwise false.