Package io.goobi.viewer.model.glossary
Class GlossaryManager
java.lang.Object
io.goobi.viewer.model.glossary.GlossaryManager
GlossaryManager class.
- Author:
- Florian Alpers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGlossaries.getGlossary
(String filename) getGlossary.getGlossaryAsJson
(String filename) getGlossaryAsJson.
-
Constructor Details
-
GlossaryManager
public GlossaryManager()
-
-
Method Details
-
getGlossaries
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
- aString
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
- aString
object.- Returns:
- a
Glossary
object. - Throws:
IOException
- if any.de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException
- if any.org.json.JSONException
- if any.
-