net.sf.sail.common.apps
Class LaunchGenericSession

java.lang.Object
  extended by net.sf.sail.common.apps.LaunchGenericSession

public class LaunchGenericSession
extends java.lang.Object

Provides static methods to find a file, read in the file, make a session configuration and launch that session. If the file is not found, pops up a message.

Author:
turadg

Constructor Summary
LaunchGenericSession()
           
 
Method Summary
static java.io.File getFileToLoad(java.lang.String[] args)
           
static SessionConfiguration getSessionConfiguration(java.io.Reader reader)
           
static void launchSession(SessionConfiguration conf)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchGenericSession

public LaunchGenericSession()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

launchSession

public static void launchSession(SessionConfiguration conf)
Parameters:
conf -

getSessionConfiguration

public static SessionConfiguration getSessionConfiguration(java.io.Reader reader)
Parameters:
reader -
Returns:

getFileToLoad

public static java.io.File getFileToLoad(java.lang.String[] args)
                                  throws java.io.IOException
Parameters:
args -
Throws:
java.io.IOException


Copyright © 2004-2008 TELS Center. All Rights Reserved.