Protege-OWL 3.5 beta

edu.stanford.smi.protegex.owl.repository.impl
Class RelativeFileRepository

java.lang.Object
  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.LocalFileRepository
              extended by edu.stanford.smi.protegex.owl.repository.impl.RelativeFileRepository
All Implemented Interfaces:
Repository

public class RelativeFileRepository
extends LocalFileRepository


Constructor Summary
RelativeFileRepository(java.io.File file, java.lang.String relativeURL, boolean isForceReadOnly)
           
RelativeFileRepository(java.io.File file, java.net.URL baseURL, java.lang.String relativeURL)
           
 
Method Summary
 java.lang.String getRepositoryDescription()
          Gets a description of the type of the repository.
 java.lang.String getRepositoryDescriptor()
          Gets the descriptor for this repository.
 
Methods inherited from class edu.stanford.smi.protegex.owl.repository.impl.LocalFileRepository
refresh
 
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
 

Constructor Detail

RelativeFileRepository

public RelativeFileRepository(java.io.File file,
                              java.net.URL baseURL,
                              java.lang.String relativeURL)
                       throws java.net.MalformedURLException,
                              java.net.URISyntaxException
Throws:
java.net.MalformedURLException
java.net.URISyntaxException

RelativeFileRepository

public RelativeFileRepository(java.io.File file,
                              java.lang.String relativeURL,
                              boolean isForceReadOnly)
                       throws java.net.MalformedURLException,
                              java.net.URISyntaxException
Throws:
java.net.MalformedURLException
java.net.URISyntaxException
Method Detail

getRepositoryDescriptor

public java.lang.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 java.lang.String getRepositoryDescription()
Description copied from interface: Repository
Gets a description of the type of the repository. For example, "Local folder".

Specified by:
getRepositoryDescription in interface Repository
Overrides:
getRepositoryDescription in class LocalFileRepository

Protege-OWL 3.5 beta

Submit a bug report or feature request
${copyright}