6 storage=HashMapXMLMetaData(...
7 'storageFormat',
'none');
12 function destFileName=copyConfFile(
self,destFolderName,varargin)
13 [reg,~,isDestFile]=
mxberry.
core.parseparext(varargin,...
14 {
'destIsFile';
false;
'isscalar(x)&&islogical(x)'},...
15 'regCheckList',{
'isstring(x)'},...
16 'regDefList',{
self.getCurConfName()});
19 [destPathStr,destConfName,destExt]=fileparts(destFolderName);
22 destPathStr=destFolderName;
23 destConfName=confName;
26 'storageFormat',
'verxml',...
27 'storageLocationRoot',destPathStr,...
28 'skipStorageBranchKey',
true,...
29 'checkStorageContent',
false);
30 storage.put(destConfName,
self.getConfInternal(confName));
32 destFileName=[destPathStr
filesep destConfName
'.xml'];
35 function selectConf(
self,confName,varargin)
36 [reg,~]=
mxberry.
core.parseparams(varargin,{
'reloadIfSelected'});
39 'reloadifSelected',
false,reg{:});
41 function resVal=getParam(
self,paramName,varargin)
42 [reg,~]=
mxberry.
core.parseparams(varargin,{
'skipCache'});
44 self,paramName,reg{:},
'skipCache',
false);
46 function flushCache(
self)
49 methods(Access=protected)
50 function confNameList=getConfNameListInternal(self)
51 confNameList=self.getCachedConfNames();
CONFREPOMANAGER provides a functionality for storing, reading copying and very simplistic version tra...