Logo Search packages:      
Sourcecode: pcalendar version File versions  Download package

void net::sf::linuxorg::pcal::engine::Engine::parseLoadedFileProperties ( Properties  fileProperties ) [inline, private]

Process the file properties and fill the internal structures with their values

Parameters:
filePropertiesthe file properties to be processed

Definition at line 759 of file Engine.java.

References fileBBTCelsiusScale, net::sf::linuxorg::pcal::engine::BBTSympthomsSetDefinition::setSypmthomNameAndValues(), and sympthomsDefinition.

Referenced by loadFromFileProperties().

                                                                        {
            // load the BBT preferences
            int i = 0;
            while(fileProperties.containsKey(BBT_SYMPTHOM+i)) {
                  String sympthom = fileProperties.getProperty(BBT_SYMPTHOM+i);

                  Vector<String> values = new Vector<String>();

                  int j=0;
                  while(fileProperties.containsKey(BBT_SYMPTHOM+i+BBT_VALUE+j)) {
                        values.add(fileProperties.getProperty(BBT_SYMPTHOM+i+BBT_VALUE+j));
                        j++;              
                  }
                  sympthomsDefinition.setSypmthomNameAndValues(i, sympthom, values);
                  i++;
            }
            String celsiusScale = fileProperties.getProperty(CELSIUS_SCALE, TRUE);
            fileBBTCelsiusScale = celsiusScale.equals(TRUE);
      }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index