All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.virtdata.libbasics.shared.unary_string.FieldExtractorAutoDocsInfo Maven / Gradle / Ivy

There is a newer version: 2.12.15
Show newest version
// 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");
              }});
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy