Class NMRAManufacturersFactory
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.nmramanufacturers.NMRAManufacturersFactory
-
public class NMRAManufacturersFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_MANUFACTURERES_FILEstatic StringXSD_LOCATIONstatic StringXSD_LOCATION_COMMON_TYPES
-
Constructor Summary
Constructors Constructor Description NMRAManufacturersFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManufacturersListloadNmraManufacturers()Load the NMRA manufacturers from the default file.ManufacturersListloadNmraManufacturers(String filePath)Load the NMRA manufacturers from the file.
-
-
-
Field Detail
-
XSD_LOCATION
public static final String XSD_LOCATION
- See Also:
- Constant Field Values
-
XSD_LOCATION_COMMON_TYPES
public static final String XSD_LOCATION_COMMON_TYPES
- See Also:
- Constant Field Values
-
DEFAULT_MANUFACTURERES_FILE
public static final String DEFAULT_MANUFACTURERES_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadNmraManufacturers
public ManufacturersList loadNmraManufacturers(String filePath)
Load the NMRA manufacturers from the file.- Parameters:
filePath- the file path- Returns:
- the list of NMRA manufacturers
-
loadNmraManufacturers
public ManufacturersList loadNmraManufacturers()
Load the NMRA manufacturers from the default file.- Returns:
- the list of NMRA manufacturers
-
-