Class StateModelReader


  • @Component(role=ModelReader.class,
               hint="statemodel")
    public class StateModelReader
    extends ModelReader<StateModel>
    To read state model files into a memory state model. Created: 26 oct. 2009
    Author:
    Florian Desbois - desbois@codelutin.com
    • Constructor Detail

      • StateModelReader

        public StateModelReader()
    • Method Detail

      • read

        public StateModel read​(File... files)
        Description copied from class: ModelReader
        Read files to produce a memory model.
        Specified by:
        read in class ModelReader<StateModel>
        Parameters:
        files - files to read
        Returns:
        the new model builded from files
      • loadPropertyFile

        protected void loadPropertyFile​(File stateModelFile,
                                        StateModelImpl stateModel)
        Try to load property file, associated to current statemodel file
        Parameters:
        stateModelFile - state model file
        stateModel - state model