apps
Class FacelessApp

java.lang.Object
  extended by apps.FacelessApp

public class FacelessApp
extends Object

A simple example of a "Faceless" (no gui) application


This file is part of JMRI.

JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Author:
Bob Jacobsen Copyright 2003, 2005, 2007

Constructor Summary
FacelessApp(String[] args)
          Constructor starts the JMRI application running, and then returns.
 
Method Summary
protected  void codeConfig(String[] args)
           
protected static void initLog4J()
          Static method to get Log4J working before the rest of JMRI starts up.
static void main(String[] args)
           
static String startupInfo(String program)
          Static method to return a standard program id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacelessApp

public FacelessApp(String[] args)
Constructor starts the JMRI application running, and then returns.

Method Detail

main

public static void main(String[] args)

startupInfo

public static String startupInfo(String program)
Static method to return a standard program id. Used for logging startup, etc.


initLog4J

protected static void initLog4J()
Static method to get Log4J working before the rest of JMRI starts up.


codeConfig

protected void codeConfig(String[] args)


Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: SourceForge_Logo