Package edu.pitt.terminology.util

Examples of edu.pitt.terminology.util.TerminologyException


 
  /**
   * Get all supported relations between concepts
   */
  public Relation[] getRelations() throws TerminologyException {
    throw new TerminologyException("Not implemented");
  }
View Full Code Here


  /**
   * Get all relations for specific concept, one actually needs to explore
   * a concept graph (if available) to determine those
   */
  public Relation[] getRelations(Concept c) throws TerminologyException {
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

   * get all root concepts. This makes sence if Terminology is in fact ontology
   * that has heirchichal structure
   * @return
   */
  public Concept[] getRootConcepts() throws TerminologyException {
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * add new concept to the terminology
   * @param c
   */
  public boolean addConcept(Concept c) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * update concept information
   * @param c
   */
  public boolean updateConcept(Concept c) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * remove existing concept
   * @param c
   */
  public boolean removeConcept(Concept c) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * get all available concept objects in terminology. Only sensible for small terminologies
   * @return
   */
  public Collection<Concept> getConcepts()  throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * convert Template to XML DOM object representation
   * @return
   */
  public void fromElement(Element element) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

    useTempWordFolder = true;
    String prefNameSource = null;
    offset = 0;
    RRFile = "MRCONSO.RRF";
    if(!new File(dir,RRFile).exists())
      throw new TerminologyException("RRF file "+(new File(dir,RRFile).getAbsolutePath()+" does not exist!"));
   
    if(infoMap.containsKey(RRFile)){
      offset = Integer.parseInt(infoMap.get(RRFile));
    }
    // if offset is smaller then total, read file
View Full Code Here

    if(conceptMap instanceof JDBMMap && ((JDBMMap)conceptMap).isReadOnly()){
      dispose();
      try {
        load(name,false);
      } catch (IOException e) {
        throw new TerminologyException("Unable to gain write access to data tables",e);
      }
    }
   
   
    // get list of terms
View Full Code Here

TOP

Related Classes of edu.pitt.terminology.util.TerminologyException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.