public class ClassPropertyUsageAnalyzer extends Object implements EntityDocumentProcessor
However, you can also view the files in any other tool that processes CSV. The only peculiarity is that some fields in CSV contain lists of items as values, with items separated by "@". This is not supported by most applications since it does not fit into the tabular data model of CSV.
The code is somewhat complex and not always clean. It should be considered as an advanced example, not as a first introduction.
Constructor and Description |
---|
ClassPropertyUsageAnalyzer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method.
|
static void |
printDocumentation()
Print some basic documentation about this program.
|
void |
processItemDocument(ItemDocument itemDocument)
Processes the given ItemDocument.
|
void |
processPropertyDocument(PropertyDocument propertyDocument)
Processes the given PropertyDocument.
|
void |
writeFinalReports()
Creates the final file output of the analysis.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processEntityRedirectDocument, processLexemeDocument, processMediaInfoDocument
public static void main(String[] args)
ExampleHelpers
.public void processItemDocument(ItemDocument itemDocument)
EntityDocumentProcessor
processItemDocument
in interface EntityDocumentProcessor
itemDocument
- the ItemDocumentpublic void processPropertyDocument(PropertyDocument propertyDocument)
EntityDocumentProcessor
processPropertyDocument
in interface EntityDocumentProcessor
propertyDocument
- the PropertyDocumentpublic void writeFinalReports()
public static void printDocumentation()
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage