Protégé-OWL 3.4.8

Class LocalFolderRepository

  extended by edu.stanford.smi.protegex.owl.repository.impl.AbstractStreamBasedRepositoryImpl
      extended by edu.stanford.smi.protegex.owl.repository.impl.AbstractLocalRepository
          extended by edu.stanford.smi.protegex.owl.repository.impl.LocalFolderRepository
All Implemented Interfaces:
Direct Known Subclasses:
ProtegeOWLPluginFolderRepository, RelativeFolderRepository

public class LocalFolderRepository
extends AbstractLocalRepository

User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Sep 12, 2005

Field Summary
static String RECURSIVE_FLAG
Constructor Summary
LocalFolderRepository(File folder)
LocalFolderRepository(File folder, boolean forceReadOnly)
LocalFolderRepository(File folder, boolean forceReadOnly, boolean recursive)
Method Summary
 String getRepositoryDescription()
          Gets a description of the type of the repository.
 String getRepositoryDescriptor()
          Gets the descriptor for this repository.
 void refresh()
          Causes the repository to contain the latest information.
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 edu.stanford.smi.protegex.owl.repository.impl.AbstractStreamBasedRepositoryImpl
hasOutputStream, loadImportedAssertions
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final String RECURSIVE_FLAG
See Also:
Constant Field Values
Constructor Detail


public LocalFolderRepository(File folder)


public LocalFolderRepository(File folder,
                             boolean forceReadOnly)


public LocalFolderRepository(File folder,
                             boolean forceReadOnly,
                             boolean recursive)
Method Detail


public void refresh()
Description copied from interface: Repository
Causes the repository to contain the latest information.

Specified by:
refresh in interface Repository
refresh in class AbstractLocalRepository


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
getRepositoryDescriptor in class AbstractLocalRepository


public String getRepositoryDescription()
Description copied from interface: Repository
Gets a description of the type of the repository. For example, "Local folder".

Protégé-OWL 3.4.8

Submit a bug report or feature request
Copyright (c) 1998-2012 Stanford University.