Revision 23de68fc
Added by Andreas Müller almost 2 years ago
cdmlib-print/src/main/java/eu/etaxonomy/cdm/print/out/taxpub/TaxPubOutputModule.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Copyright (C) 2007 EDIT |
3 |
* European Distributed Institute of Taxonomy
|
|
3 |
* European Distributed Institute of Taxonomy |
|
4 | 4 |
* http://www.e-taxonomy.eu |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.print.out.taxpub; |
11 | 10 |
|
12 | 11 |
import java.io.File; |
13 | 12 |
|
14 |
import org.apache.log4j.Logger; |
|
13 |
import org.apache.logging.log4j.LogManager; |
|
14 |
import org.apache.logging.log4j.Logger; |
|
15 | 15 |
import org.jdom.Document; |
16 | 16 |
|
17 | 17 |
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor; |
... | ... | |
20 | 20 |
/** |
21 | 21 |
* @author n.hoffmann |
22 | 22 |
* @since Aug 4, 2010 |
23 |
* @version 1.0 |
|
24 | 23 |
*/ |
25 | 24 |
public class TaxPubOutputModule extends PublishOutputModuleBase { |
26 |
private static final Logger logger = Logger |
|
27 |
.getLogger(TaxPubOutputModule.class); |
|
28 | 25 |
|
29 |
/* (non-Javadoc)
|
|
30 |
* @see eu.etaxonomy.printpublisher.out.IPublishOutputModule#getOutputFileSuffix() |
|
31 |
*/
|
|
32 |
public String getOutputFileSuffix() {
|
|
26 |
private static final Logger logger = LogManager.getLogger(TaxPubOutputModule.class);
|
|
27 |
|
|
28 |
@Override
|
|
29 |
public String getOutputFileSuffix() {
|
|
33 | 30 |
return "taxpub.xml"; |
34 | 31 |
} |
35 |
|
|
32 |
|
|
36 | 33 |
@Override |
37 | 34 |
public void output(Document document, File exportFolder, |
38 | 35 |
IProgressMonitor progressMonitor) { |
39 | 36 |
super.output(document, exportFolder, progressMonitor); |
40 |
|
|
37 |
|
|
41 | 38 |
progressMonitor.subTask("Not implemented yet"); |
42 | 39 |
} |
43 | 40 |
} |
Also available in: Unified diff
ref #9359 upgrade cdmlib to log4j 2