All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.okworx.ilcd.validation.util.AbstractDatasetsTask Maven / Gradle / Ivy

Go to download

A Java library for performing technical validation of data in ILCD data format.

There is a newer version: 2.7.2
Show newest version
package com.okworx.ilcd.validation.util;

import java.util.Collection;

import org.apache.logging.log4j.Logger;

import com.okworx.ilcd.validation.AbstractDatasetsValidator;
import com.okworx.ilcd.validation.reference.IDatasetReference;

/**
 * 

AbstractDatasetsTask class.

* * @author oliver.kusche * @version $Id: $Id */ public class AbstractDatasetsTask { protected final Logger log = org.apache.logging.log4j.LogManager.getLogger(this.getClass()); protected AbstractDatasetsValidator validator; protected Collection files; protected Statistics statistics = new Statistics(); /** *

updateChunkCount.

* * @param count a int. * @return a int. */ protected int updateChunkCount(int count) { count++; if ((count % this.validator.getUpdateInterval() == 0)) { this.validator.triggerProgressUpdate(count); count = 0; } return count; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy