* The contents of this file are subject to the Mozilla Public License Version 1.1
* See LICENSE.TXT at the top of this package for the full license terms.
*/
-
package eu.etaxonomy.cdm.io.dwca.out;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.util.Set;
-import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
import eu.etaxonomy.cdm.model.common.CdmBase;
import eu.etaxonomy.cdm.model.common.Language;
* @since 20.04.2011
*/
public class DwcaImageExport extends DwcaDataExportBase {
- private static final long serialVersionUID = -4997807762779037215L;
- private static final Logger logger = LogManager.getLogger(DwcaImageExport.class);
+ private static final long serialVersionUID = -4997807762779037215L;
+ private static final Logger logger = LogManager.getLogger();
private static final String ROW_TYPE = "http://rs.gbif.org/terms/1.0/Image";
protected static final String fileName = "images.txt";
@Override
protected void doInvoke(DwcaTaxExportState state){}
- /**
- * @param state
- * @param node
- * @throws IOException
- * @throws FileNotFoundException
- * @throws UnsupportedEncodingException
- */
@Override
protected void handleTaxonNode(DwcaTaxExportState state, TaxonNode node)
throws IOException, FileNotFoundException, UnsupportedEncodingException {
}
}
-
-
-
private void handleMedia(DwcaTaxExportState state, DwcaImageRecord record, Media media, MediaRepresentation repr, MediaRepresentationPart part, Taxon taxon) {
record.setId(taxon.getId());
record.setUuid(taxon.getUuid());
public boolean isIgnore(DwcaTaxExportState state) {
return ! state.getConfig().isDoImages();
}
-
-}
+}
\ No newline at end of file