com.feinik.csv.metadata.CsvColumnProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easycsv Show documentation
Show all versions of easycsv Show documentation
easycsv is a excel handle tools written in Java
The newest version!
package com.feinik.csv.metadata;
/**
*
*
* @author Feinik
*/
public class CsvColumnProperty implements Comparable {
private String content;
private String head;
private int index = 999;
private String format;
public String getHead() {
return head;
}
public void setHead(String head) {
this.head = head;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public int getIndex() {
return index;
}
public void setIndex(int index) {
this.index = index;
}
public String getFormat() {
return format;
}
public void setFormat(String format) {
this.format = format;
}
@Override
public int compareTo(CsvColumnProperty o) {
int x = this.index;
int y = o.getIndex();
return (x < y) ? -1 : ((x == y) ? 0 : 1);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy