io.virtdata.libbasics.shared.from_long.to_string.ModuloCSVLineToStringAutoDocsInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
// This file is auto-generated.
package io.virtdata.libbasics.shared.from_long.to_string;
import io.virtdata.annotations.Category;
import io.virtdata.annotations.Service;
import io.virtdata.processors.DocCtorData;
import io.virtdata.processors.DocForFuncCtor;
import io.virtdata.processors.DocFuncData;
import java.lang.String;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
@Service(DocFuncData.class)
public class ModuloCSVLineToStringAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "ModuloCSVLineToString";
}
public String getPackageName() {
return "io.virtdata.libbasics.shared.from_long.to_string";
}
public String getClassJavadoc() {
return "Select a value from a CSV file line by modulo division against the number\n"
+ "of lines in the file. The second parameter is the field name, and this must\n"
+ "be provided in the CSV header line as written.\n";
}
public String getInType() {
return "long";
}
public String getOutType() {
return "java.lang.String";
}
public Category[] getCategories() {
return new Category[] { };
}
public List getCtors() {
return new ArrayList() {{
add(new DocForFuncCtor("ModuloCSVLineToString", "",
new LinkedHashMap() {{
put("filename","java.lang.String");
put("fieldname","java.lang.String");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("ModuloCSVLineToString('data/myfile.csv','lat')");
add("load values for 'lat' from the CSV file myfile.csv.");
}});
}}
));
}};
}
}