jmri.util
Class ConnectionNameFromSystemName
java.lang.Object
jmri.util.ConnectionNameFromSystemName
public class ConnectionNameFromSystemName
- extends Object
Common utility method for returning the System Connection Name from
the System Name Prefix
- Author:
- Kevin Dickerson Copyright 2010
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionNameFromSystemName
public ConnectionNameFromSystemName()
getConnectionName
public static String getConnectionName(String prefix)
- Locates the connected systems name from a given prefix.
- Parameters:
prefix -
- Returns:
- The Connection System Name
getPrefixFromName
public static String getPrefixFromName(String name)
- Locates the connected systems prefix from a given System name.
- Parameters:
name -
- Returns:
- The system prefix
Copyright © 1997 - 2011 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: