edu.stanford.smi.protegex.owl.repository.impl
Class RelativeFileRepository
java.lang.Object
edu.stanford.smi.protegex.owl.repository.impl.AbstractStreamBasedRepositoryImpl
edu.stanford.smi.protegex.owl.repository.impl.AbstractLocalRepository
edu.stanford.smi.protegex.owl.repository.impl.LocalFileRepository
edu.stanford.smi.protegex.owl.repository.impl.RelativeFileRepository
- All Implemented Interfaces:
- Repository
public class RelativeFileRepository
- extends LocalFileRepository
| 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 |
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
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
Submit a bug report or feature request
${copyright}