org.stanwood.media.cli
Class DefaultExitHandler

java.lang.Object
  extended by org.stanwood.media.cli.DefaultExitHandler
All Implemented Interfaces:
IExitHandler

public class DefaultExitHandler
extends java.lang.Object
implements IExitHandler

A default exit handler that calls System.exit(int)


Constructor Summary
DefaultExitHandler()
           
 
Method Summary
 void exit(int exitCode)
          This is called when the application wants to exit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExitHandler

public DefaultExitHandler()
Method Detail

exit

public void exit(int exitCode)
This is called when the application wants to exit. It calls System.exit(int).

Specified by:
exit in interface IExitHandler
Parameters:
exitCode - The exit code it's exiting with.