Class OppNodeProfiles

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,T>
casa.util.conf.ConfigurationProfiles<OppNodeProperties>
casa.lepton.conf.OppNodeProfiles
All Implemented Interfaces:
Serializable, Cloneable, Map<String,OppNodeProperties>

public class OppNodeProfiles extends casa.util.conf.ConfigurationProfiles<OppNodeProperties>
A map associating profile names to OppNodeProperties objects. The profiles are loaded from a file which format is described in the ConfigurationProfiles class.
See Also:
  • Constructor Details

    • OppNodeProfiles

      public OppNodeProfiles(OppNodeProperties commonProperties, BufferedReader reader) throws IOException
      Loads profiles from a file where properties are introduced by their profile name between '[' ']'. The properties defined before the first profile name are properties common to all profiles.
      Parameters:
      commonProperties - properties common to all profiles. May be null. Those common properties are overwritten by the specific profiles' properties
      reader - input stream from which the properties are loaded
      Throws:
      IOException - if an error occurs while accessing the input stream
  • Method Details