Package jetbrains.mps.persistence
Class FilePerRootDataSource
- java.lang.Object
 - 
- jetbrains.mps.extapi.persistence.DataSourceBase
 - 
- jetbrains.mps.extapi.persistence.FolderDataSource
 - 
- jetbrains.mps.persistence.FilePerRootDataSource
 
 
 
 
- 
- All Implemented Interfaces:
 DisposableDataSource,FileSystemBasedDataSource,FileListener,FileSystemListener,DataSource,MultiStreamDataSource
public final class FilePerRootDataSource extends FolderDataSource
- See Also:
 comments evgeny, 6/3/13
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringHEADER_FILEstatic StringROOT_EXTENSION 
- 
Constructor Summary
Constructors Constructor Description FilePerRootDataSource(IFile folder)FilePerRootDataSource(IFile folder, ModelRoot root)Deprecated. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()booleanisIncluded(IFile file)Returns true iff the file potentially contains some model datastatic booleanisPerRootPersistenceFile(IFile file)fixme exposes my internal notion -- better useDataSourceFactoryFromURL#create(URI, ModelRoot)- 
Methods inherited from class jetbrains.mps.extapi.persistence.FolderDataSource
addListener, delete, delete, getAffectedFiles, getAvailableStreams, getFile, getFileToListen, getFolder, getLocation, getStreamName, getStreams, getTimestamp, getType, isReadOnly, openInputStream, openOutputStream, removeListener, update 
- 
Methods inherited from class jetbrains.mps.extapi.persistence.DataSourceBase
refresh, toString 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.vfs.refresh.FileListener
listeningPreferences 
- 
Methods inherited from interface jetbrains.mps.vfs.refresh.FileSystemListener
getListenerDependencies 
 - 
 
 - 
 
- 
- 
Field Detail
- 
HEADER_FILE
public static final String HEADER_FILE
- See Also:
 - Constant Field Values
 
 
- 
ROOT_EXTENSION
public static final String ROOT_EXTENSION
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
isIncluded
public boolean isIncluded(@NotNull IFile file)
Description copied from class:FolderDataSourceReturns true iff the file potentially contains some model data- Overrides:
 isIncludedin classFolderDataSource- Returns:
 - whether file is an actual source file
 
 
 - 
 
 -