Package de.forsthaus.backend.model

Examples of de.forsthaus.backend.model.Ip4Country


@Repository
public class Ip4CountryDAOImpl extends BasisDAO<Ip4Country> implements Ip4CountryDAO {

  @Override
  public Ip4Country getNewIp4Country() {
    return new Ip4Country();
  }
View Full Code Here


        while (null != (aLine = in.readLine())) {
          final String[] array = splitterPattern.split(aLine.trim());
          final long ip = Long.parseLong(array[0]);
          final long country = Long.parseLong(array[1]);

          final Ip4Country tmp = this.ip4CountryDAO.getNewIp4Country();
          tmp.setI4coCcdId(country);
          tmp.setI4coIp(ip);

          getIp4CountryDAO().saveOrUpdate(tmp);

          if (logger.isDebugEnabled() && ++counter % 100 == 0) {
            logger.debug("Aktueller Zaehler: " + counter);
View Full Code Here

TOP

Related Classes of de.forsthaus.backend.model.Ip4Country

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.