Package jmri.jmrix.ecos.utilities
Class GetEcosObjectNumber
- java.lang.Object
-
- jmri.jmrix.ecos.utilities.GetEcosObjectNumber
-
public class GetEcosObjectNumber extends java.lang.Object
This method simply returns a integer value from a string, that is between two given character positions.
-
-
Constructor Summary
Constructors Constructor Description GetEcosObjectNumber()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getEcosObjectNumber(java.lang.String s, java.lang.String start, java.lang.String finish)
-
-
-
Constructor Detail
-
GetEcosObjectNumber
public GetEcosObjectNumber()
-
-
Method Detail
-
getEcosObjectNumber
public static int getEcosObjectNumber(java.lang.String s, java.lang.String start, java.lang.String finish)
- Parameters:
s
- Name of this action, e.g. in menus.start
- start string.finish
- finish string.- Returns:
- object number.
-
-