Package jmri.jmrit.ctc.ctcserialdata
Class ProjectsCommonSubs
- java.lang.Object
-
- jmri.jmrit.ctc.ctcserialdata.ProjectsCommonSubs
-
public class ProjectsCommonSubs extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SSV_SEPARATOR
-
Constructor Summary
Constructors Constructor Description ProjectsCommonSubs()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.ArrayList<java.lang.String>
getArrayListFromCSV(java.lang.String csvString)
static java.util.ArrayList<java.lang.String>
getArrayListFromSSV(java.lang.String ssvString)
static java.util.ArrayList<java.lang.String>
getArrayListOfSignalNames(java.util.ArrayList<NBHSignal> array)
static java.util.ArrayList<NBHSignal>
getArrayListOfSignals(java.util.ArrayList<java.lang.String> signalNames)
static int
getButtonSelectedInt(javax.swing.ButtonGroup buttonGroup)
static java.lang.String
getButtonSelectedString(javax.swing.ButtonGroup buttonGroup)
static java.util.ArrayList<java.lang.String>
getFixedArrayListSizeFromCSV(java.lang.String csvString, int returnArrayListSize)
static int
getIntFromStringNoThrow(java.lang.String aString, int defaultValueIfProblem)
static boolean
isNullOrEmptyString(java.lang.String aString)
-
-
-
Field Detail
-
SSV_SEPARATOR
public static final java.lang.String SSV_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProjectsCommonSubs
public ProjectsCommonSubs()
-
-
Method Detail
-
getArrayListFromCSV
public static java.util.ArrayList<java.lang.String> getArrayListFromCSV(java.lang.String csvString)
-
getArrayListFromSSV
public static java.util.ArrayList<java.lang.String> getArrayListFromSSV(java.lang.String ssvString)
-
getArrayListOfSignalNames
public static java.util.ArrayList<java.lang.String> getArrayListOfSignalNames(java.util.ArrayList<NBHSignal> array)
-
getArrayListOfSignals
public static java.util.ArrayList<NBHSignal> getArrayListOfSignals(java.util.ArrayList<java.lang.String> signalNames)
-
getFixedArrayListSizeFromCSV
public static java.util.ArrayList<java.lang.String> getFixedArrayListSizeFromCSV(java.lang.String csvString, int returnArrayListSize)
-
getIntFromStringNoThrow
public static int getIntFromStringNoThrow(java.lang.String aString, int defaultValueIfProblem)
-
isNullOrEmptyString
public static boolean isNullOrEmptyString(java.lang.String aString)
-
getButtonSelectedInt
public static int getButtonSelectedInt(javax.swing.ButtonGroup buttonGroup)
-
getButtonSelectedString
public static java.lang.String getButtonSelectedString(javax.swing.ButtonGroup buttonGroup)
-
-