Class GlossaryManager

java.lang.Object
io.goobi.viewer.model.glossary.GlossaryManager

public class GlossaryManager extends Object

GlossaryManager class.

Author:
Florian Alpers
  • Constructor Details

    • GlossaryManager

      public GlossaryManager()
  • Method Details

    • getGlossaries

      public List<Glossary> getGlossaries() throws IOException

      getGlossaries.

      Returns:
      a List object.
      Throws:
      IOException - if any.
    • getGlossaryAsJson

      public String getGlossaryAsJson(String filename) throws IOException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException

      getGlossaryAsJson.

      Parameters:
      filename - a String object.
      Returns:
      a String object.
      Throws:
      IOException - if any.
      de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException - if any.
    • getGlossary

      public Glossary getGlossary(String filename) throws IOException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException, org.json.JSONException

      getGlossary.

      Parameters:
      filename - a String object.
      Returns:
      a Glossary object.
      Throws:
      IOException - if any.
      de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException - if any.
      org.json.JSONException - if any.