Revision e806a768
Added by Andreas Müller almost 3 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/cdmLight/CdmLightClassificationExport.java | ||
---|---|---|
2065 | 2065 |
String[] csvLine = new String[table.getSize()]; |
2066 | 2066 |
csvLine[table.getIndex(CdmLightExportTable.REFERENCE_ID)] = getId(state, reference); |
2067 | 2067 |
// TODO short citations correctly |
2068 |
String shortCitation = OriginalSourceFormatter.INSTANCE_WITH_BRACKETS.format(reference, null); // Should be Author(year) like in Taxon.sec
|
|
2068 |
String shortCitation = OriginalSourceFormatter.INSTANCE.format(reference, null); // Should be Author(year) like in Taxon.sec |
|
2069 | 2069 |
csvLine[table.getIndex(CdmLightExportTable.BIBLIO_SHORT_CITATION)] = shortCitation; |
2070 | 2070 |
// TODO get preferred title |
2071 | 2071 |
csvLine[table.getIndex(CdmLightExportTable.REF_TITLE)] = reference.isProtectedTitleCache() |
Also available in: Unified diff
ref #9624 use short citation without brackets in cdmlight reference export