Class FieldExtractor

  • All Implemented Interfaces:
    java.util.function.Function<java.lang.String,​java.lang.String>

    public class FieldExtractor
    extends java.lang.Object
    implements java.util.function.Function<java.lang.String,​java.lang.String>
    Extracts out a set of fields from a delimited string, returning a string with the same delimiter containing only the specified fields. The
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldExtractor​(java.lang.String fields)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String apply​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • FieldExtractor

        public FieldExtractor​(java.lang.String fields)
    • Method Detail

      • apply

        public java.lang.String apply​(java.lang.String s)
        Specified by:
        apply in interface java.util.function.Function<java.lang.String,​java.lang.String>