/** Answer a ModelMaker that constructs memory-based Models that are backed by files in the root directory. The Model is loaded from the file when it is opened, and when the Model is closed it is written back. @param root the name of the directory in which the backing files are held @return a ModelMaker linked to the files in the root */ public static ModelMaker createFileModelMaker( String root ) { return new ModelMakerImpl( new FileGraphMaker( root ) ); }
/** Answer a ModelMaker that constructs memory-based Models that are backed by files in the root directory. The Model is loaded from the file when it is opened, and when the Model is closed it is written back. @param root the name of the directory in which the backing files are held @param style the desired reification style @return a ModelMaker linked to the files in the root */ @Deprecated public static ModelMaker createFileModelMaker( String root, ReificationStyle style ) { return new ModelMakerImpl( new FileGraphMaker( root ) ); }