📂 A Java library for parsing Quiver libraries.
<dependency>
<groupId>com.reyallan</groupId>
<artifactId>quiver4j</artifactId>
<version>1.0.0</version>
<type>pom</type>
</dependency>
implementation 'com.reyallan:quiver4j:1.0.0'
class QuiverParser {
public static void main(String[] args) {
QuiverLibrary library = new QuiverLibrary(Paths.get("/home/$USER/Quiver.qvlibrary"));
for (QuiverNotebook notebook : library.getNotebooks()) {
System.out.println(String.format("Notebook '%s' has %d notes", notebook.getName(), notebook.getNumberOfNotes()));
for (QuiverNote note : notebook.getNotes()) {
List<QuiverCell> content = note.getContent();
System.out.println(String.format("Note '%s' has %d cells", note.getTitle(), content.size()));
for (QuiverCell cell : content) {
System.out.println(String.format("Cell of type '%s' with data: %s", cell.getType(), cell.getData()));
}
}
}
}
}