Class ReferenceManager
java.lang.Object
org.episteme.core.bibliography.ReferenceManager
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFromBibTeX(String bibtex) Adds a reference from BibTeX entry.voidaddReference(Map<String, String> entry) Adds a reference manually.voidclear()Clears all references.Exports all references as BibTeX.findByAuthor(String authorPattern) Finds references by author name.findByYear(String year) Finds references by year.Formats all references in the specified style.formatReference(Map<String, String> entry, String style) Formats a single reference.Gets all references.Gets default citation style.voidsetDefaultStyle(String style) Sets default citation style.intsize()Gets reference count.voidSorts references alphabetically by author.voidSorts references by year (newest first).
-
Constructor Details
-
ReferenceManager
public ReferenceManager()
-
-
Method Details
-
addFromBibTeX
Adds a reference from BibTeX entry. -
addReference
-
getAllReferences
-
findByAuthor
-
findByYear
-
formatAll
-
formatReference
-
exportAsBibTeX
Exports all references as BibTeX. -
size
public int size()Gets reference count. -
clear
public void clear()Clears all references. -
setDefaultStyle
Sets default citation style. -
getDefaultStyle
Gets default citation style. -
sortByAuthor
public void sortByAuthor()Sorts references alphabetically by author. -
sortByYear
public void sortByYear()Sorts references by year (newest first).
-