io.virtdata.libbasics.shared.unary_string.FieldExtractorAutoDocsInfo 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.unary_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 FieldExtractorAutoDocsInfo implements DocFuncData {
public String getClassName() {
return "FieldExtractor";
}
public String getPackageName() {
return "io.virtdata.libbasics.shared.unary_string";
}
public String getClassJavadoc() {
return "Extracts out a set of fields from a delimited string, returning\n"
+ "a string with the same delimiter containing only the specified fields.\n";
}
public String getInType() {
return "java.lang.String";
}
public String getOutType() {
return "java.lang.String";
}
public Category[] getCategories() {
return new Category[] { };
}
public List getCtors() {
return new ArrayList() {{
add(new DocForFuncCtor("FieldExtractor", "",
new LinkedHashMap() {{
put("fields","java.lang.String");
}},
new ArrayList>() {{
add(new ArrayList() {{
add("FieldExtractor('|,2,16')");
add("extract fields 2 and 16 from the input data with '|' as the delimiter");
}});
}}
));
}};
}
}