Protégé-OWL 3.3.1

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

java.lang.Object
  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(File file, String relativeURL, boolean isForceReadOnly)
           
RelativeFileRepository(File file, URL baseURL, String relativeURL)
           
 
Method Summary
 String getRepositoryDescription()
          Gets a description of the type of the repository.
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativeFileRepository

public RelativeFileRepository(File file,
                              URL baseURL,
                              String relativeURL)
                       throws MalformedURLException,
                              URISyntaxException
Throws:
MalformedURLException
URISyntaxException

RelativeFileRepository

public RelativeFileRepository(File file,
                              String relativeURL,
                              boolean isForceReadOnly)
                       throws MalformedURLException,
                              URISyntaxException
Throws:
MalformedURLException
URISyntaxException
Method Detail

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".

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

Protégé-OWL 3.3.1

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