public class BaseVoltageColor extends Object
Modifier | Constructor and Description |
---|---|
protected |
BaseVoltageColor(BaseVoltagesConfig config) |
Modifier and Type | Method and Description |
---|---|
static BaseVoltageColor |
fromInputStream(InputStream configInputStream) |
static BaseVoltageColor |
fromPath(Path configFile) |
static BaseVoltageColor |
fromPlatformConfig() |
Optional<String> |
getBaseVoltageName(double baseVoltage,
String profile) |
List<String> |
getBaseVoltageNames(String profile) |
Optional<String> |
getColor(double baseVoltage,
String profile) |
Optional<String> |
getColor(String baseVoltageName,
String profile) |
String |
getDefaultProfile() |
List<String> |
getProfiles() |
protected BaseVoltageColor(BaseVoltagesConfig config)
public static BaseVoltageColor fromPlatformConfig()
public static BaseVoltageColor fromInputStream(InputStream configInputStream)
public static BaseVoltageColor fromPath(Path configFile)
public String getDefaultProfile()
Copyright © 2020. All rights reserved.