edu.stanford.smi.protegex.owl.repository.util
Class RepositoryUtil

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.repository.util.RepositoryUtil

public class RepositoryUtil
extends Object

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

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Field Summary
static String FORCE_READ_ONLY_FLAG
           
 
Constructor Summary
RepositoryUtil()
           
 
Method Summary
static boolean createImportLocalCopy(OWLModel model, URI ontologyURI, File localFile)
           
static boolean getBooleanProperty(String propertyName, String query)
           
static boolean isDublinCoreRedirectedToDLVersion(RepositoryManager manager)
           
static boolean isForcedToBeReadOnly(String query)
           
static void setDublinCoreRedirectedToDLVersion(RepositoryManager manager, boolean redirect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORCE_READ_ONLY_FLAG

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

RepositoryUtil

public RepositoryUtil()
Method Detail

isForcedToBeReadOnly

public static boolean isForcedToBeReadOnly(String query)

getBooleanProperty

public static boolean getBooleanProperty(String propertyName,
                                         String query)

createImportLocalCopy

public static boolean createImportLocalCopy(OWLModel model,
                                            URI ontologyURI,
                                            File localFile)
                                     throws IOException
Throws:
IOException

isDublinCoreRedirectedToDLVersion

public static boolean isDublinCoreRedirectedToDLVersion(RepositoryManager manager)

setDublinCoreRedirectedToDLVersion

public static void setDublinCoreRedirectedToDLVersion(RepositoryManager manager,
                                                      boolean redirect)