edu.stanford.smi.protegex.owl.repository.impl
Class LocalFolderRepository
java.lang.Object
edu.stanford.smi.protegex.owl.repository.impl.AbstractLocalRepository
edu.stanford.smi.protegex.owl.repository.impl.LocalFolderRepository
- All Implemented Interfaces:
- Repository
- Direct Known Subclasses:
- ProtegeOWLPluginFolderRepository, RelativeFolderRepository
- public class LocalFolderRepository
- extends AbstractLocalRepository
User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Sep 12, 2005
matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm
Methods inherited from class edu.stanford.smi.protegex.owl.repository.impl.AbstractLocalRepository |
contains, getFile, getInputStream, getOntologies, getOntologyLocationDescription, getOutputStream, isForceReadOnly, isSystem, isWritable, processFile, putOntology, setForceReadOnly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RECURSIVE_FLAG
public static final String RECURSIVE_FLAG
- See Also:
- Constant Field Values
recursive
private boolean recursive
LocalFolderRepository
public LocalFolderRepository(File folder)
LocalFolderRepository
public LocalFolderRepository(File folder,
boolean forceReadOnly)
LocalFolderRepository
public LocalFolderRepository(File folder,
boolean forceReadOnly,
boolean recursive)
refresh
public void refresh()
- Description copied from interface:
Repository
- Causes the repository to contain the latest
information.
- Specified by:
refresh
in interface Repository
- Overrides:
refresh
in class AbstractLocalRepository
update
private void update()
update
private void update(File file)
checkFile
private void checkFile(File file)
throws IOException
- Throws:
IOException
getRepositoryDescriptor
public String getRepositoryDescriptor()
- Description copied from interface:
Repository
- Gets the descriptor for this repository. This is used to
serialise the repository in a list of the available repositories.
- Specified by:
getRepositoryDescriptor
in interface Repository
- Overrides:
getRepositoryDescriptor
in class AbstractLocalRepository
getRepositoryDescription
public String getRepositoryDescription()
- Description copied from interface:
Repository
- Gets a description of the type of the repository. For example,
"Local folder".