org.nuiton.eugene.models.state
Class StateModelReader

java.lang.Object
  extended by org.nuiton.eugene.ModelReader<StateModel>
      extended by org.nuiton.eugene.models.state.StateModelReader

public class StateModelReader
extends ModelReader<StateModel>

To read state model files into a memory state model. Created: 26 oct. 2009

Version:
$Id: StateModelReader.java 1079 2011-06-28 09:15:23Z tchemit $
Author:
fdesbois
Plexus component:
role:
"org.nuiton.eugene.ModelReader"
role-hint:
"statemodel"

Field Summary
 
Fields inherited from class org.nuiton.eugene.ModelReader
lastModifiedSource, modelPropertiesProvider, strictLoading, verbose
 
Constructor Summary
StateModelReader()
           
 
Method Summary
protected  void loadPropertyFile(File stateModelFile, StateModelImpl stateModel)
          Try to load property file, associated to current statemodel file
 StateModel read(File... files)
          Read files to produce a memory model.
 
Methods inherited from class org.nuiton.eugene.ModelReader
getLastModifiedSource, getModelPropertiesProvider, isStrictLoading, isVerbose, setLastModifiedSource, setModelPropertiesProvider, setStrictLoading, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 -
stateModel -


Copyright © 2004-2012 CodeLutin. All Rights Reserved.