Multilingual Wiki Documentation

You are currently using syntax.
In an attempt to improve PlantUML documentation...
Please do not use this website for your own diagrams.
You can click here and use the online server here for your own documentation.

Back to page content


English version Empty
== Java Integration API
If you use PlantUML as a library, you can use the `+StatsUtils.getStats()+` methods that return a `+Stats+` object with all datas.

You can retrieve it to use it as you wish.

Here is a short class diagram about this API:

class StatsUtil {
{static} +Stats getStats()
interface Stats {
+StatsTable getLastSessions()
+StatsTable getCurrentSessionByDiagramType()
+StatsTable getCurrentSessionByFormat()
+StatsTable getAllByDiagramType()
+StatsTable getAllByFormat()
StatsUtil -> Stats: build
Stats o--> "5" StatsTable: contains
enum StatsColumn {
interface StatsTable {
+ Collection<StatsColumn> getColumnHeaders()
+ List<StatsLine> getLines()
StatsTable o-> StatsColumn: headers
StatsTable *--> StatsLine: contains
interface StatsLine {
interface StatsLine {
+Collection<StatsColumn> getColumnHeaders()
+Object getValue(StatsColumn column)
StatsLine o--> StatsColumn: headers

__Implementation note:__ The storage of historical data are provided through the[Preference API].

Please report any bugs to or here.
This website is still in beta testing.