com.sun.comm
Class Unix

java.lang.Object
  extended bycom.sun.comm.Unix

public class Unix
extends java.lang.Object

This class contains interfaces to the UNIX platform.

Since:
3.0.0
Author:
Paul Klissner

Constructor Summary
Unix()
           
 
Method Summary
static boolean isDevLink(java.lang.String path)
          Native function to determine if path is a link to a device.
static boolean isSuperUser()
          Native function to determine if jvm is running as Super User
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unix

public Unix()
Method Detail

isDevLink

public static boolean isDevLink(java.lang.String path)
Native function to determine if path is a link to a device.

Returns:
true if path is device link.

isSuperUser

public static boolean isSuperUser()
Native function to determine if jvm is running as Super User

Returns:
true if superuser