tools.progressbar
Class isTTY_Java16only

java.lang.Object
  extended by tools.progressbar.isTTY_Java16only

public class isTTY_Java16only
extends java.lang.Object

Author:
wrzodek

Constructor Summary
isTTY_Java16only()
           
 
Method Summary
static boolean isTty()
          Returns if underlying System.out stream is a console or not.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

isTTY_Java16only

public isTTY_Java16only()
Method Detail

isTty

public static boolean isTty()
                     throws java.lang.Throwable
Returns if underlying System.out stream is a console or not. DO NOT USE THIS FUNCTION WITH JAVA 1.5. THIS OR SIMILAR FUNCTIONS ARE ONLY AVAILABLE VIA A NATIVE INTERFACE AND THUS NEARLY IMPOSSIBLE IN JDK5 !!!

Returns:
Throws:
java.lang.Throwable