org.csveed.bean.conversion.AbstractConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of csveed Show documentation
Show all versions of csveed Show documentation
Java toolkit for mapping CSV-to-Bean mapping and vice versa. Redirection to Introduction in 5 seconds!
/*
* CSVeed (https://github.com/42BV/CSVeed)
*
* Copyright 2013-2023 CSVeed.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of The Apache Software License,
* Version 2.0 which accompanies this distribution, and is available at
* https://www.apache.org/licenses/LICENSE-2.0.txt
*/
package org.csveed.bean.conversion;
/**
* The Class AbstractConverter.
*
* @param
* the key type
*/
public abstract class AbstractConverter implements Converter {
/** The clazz. */
private Class clazz;
/**
* Instantiates a new abstract converter.
*
* @param clazz
* the clazz
*/
protected AbstractConverter(Class clazz) {
this.clazz = clazz;
}
@Override
public String infoOnType() {
return getType().getName();
}
@Override
public Class getType() {
return clazz;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy