Package jmri.profile
Class ProfileProperties
- java.lang.Object
-
- jmri.profile.ProfileProperties
-
- All Implemented Interfaces:
AuxiliaryProperties
public class ProfileProperties extends java.lang.Object implements AuxiliaryProperties
-
-
Constructor Summary
Constructors Constructor Description ProfileProperties(java.io.File path)
Package protected constructor used inProfile(java.io.File, boolean)
.ProfileProperties(Profile project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
get(java.lang.String key, boolean shared)
java.lang.Iterable<java.lang.String>
listKeys(boolean shared)
void
put(java.lang.String key, java.lang.String value, boolean shared)
-
-
-
Constructor Detail
-
ProfileProperties
public ProfileProperties(Profile project)
-
ProfileProperties
ProfileProperties(java.io.File path)
Package protected constructor used inProfile(java.io.File, boolean)
.- Parameters:
path
- Path to a partially constructed Profile
-
-
Method Detail
-
get
public java.lang.String get(java.lang.String key, boolean shared)
- Specified by:
get
in interfaceAuxiliaryProperties
-
listKeys
public java.lang.Iterable<java.lang.String> listKeys(boolean shared)
- Specified by:
listKeys
in interfaceAuxiliaryProperties
-
put
public void put(java.lang.String key, java.lang.String value, boolean shared)
- Specified by:
put
in interfaceAuxiliaryProperties
-
-