javatools.administrative
Class Sleep

java.lang.Object
  extended by javatools.administrative.Sleep

public class Sleep
extends java.lang.Object

This class is part of the Java Tools (see http://mpii.de/yago-naga/javatools). It is licensed under the Creative Commons Attribution License (see http://creativecommons.org/licenses/by/3.0) by the YAGO-NAGA team (see http://mpii.de/yago-naga). Sleeps for a given time


Constructor Summary
Sleep()
           
 
Method Summary
static void main(java.lang.String[] args)
          Sleeps for a given time
static void sleep(long seconds)
          Sleeps for a given time
static void sleep(java.lang.String time)
          Sleeps for a given time
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sleep

public Sleep()
Method Detail

sleep

public static void sleep(java.lang.String time)
                  throws java.lang.NumberFormatException,
                         java.lang.InterruptedException
Sleeps for a given time

Throws:
java.lang.InterruptedException
java.lang.NumberFormatException

sleep

public static void sleep(long seconds)
                  throws java.lang.InterruptedException
Sleeps for a given time

Throws:
java.lang.InterruptedException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Sleeps for a given time

Throws:
java.lang.Exception