Documentation of 'org.supercsv.cellprocessor.constraint.RequireSubStr' Java class
RequireSubStr
org.supercsv.cellprocessor.constraint

Class RequireSubStr

    • Constructor Summary

      Constructors 
      Constructor and Description
      RequireSubStr(java.util.List<java.lang.String> requiredSubStrings, CellProcessor next)
      Converts the input to a String, ensures that the input contains at least one of the specified substrings, then calls the next processor in the chain.
      RequireSubStr(java.lang.String... requiredSubStrings)
      Converts the input to a String and ensures that the input contains at least one of the specified substrings.
      RequireSubStr(java.lang.String[] requiredSubStrings, CellProcessor next)
      Converts the input to a String, ensures that the input contains at least one of the specified substrings, then calls the next processor in the chain.
      RequireSubStr(java.lang.String requiredSubString, CellProcessor next)
      Converts the input to a String, ensures that the input contains the specified substring, then calls the next processor in the chain.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object execute(java.lang.Object value, CsvContext context)
      This method is invoked by the framework when the processor needs to process data or check constraints.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RequireSubStr

        public RequireSubStr(java.lang.String... requiredSubStrings)
        Converts the input to a String and ensures that the input contains at least one of the specified substrings.
        Parameters:
        requiredSubStrings - the required substrings
        Throws:
        java.lang.NullPointerException - if requiredSubStrings or one of its elements is null
        java.lang.IllegalArgumentException - if requiredSubStrings is empty
      • RequireSubStr

        public RequireSubStr(java.util.List<java.lang.String> requiredSubStrings,
                             CellProcessor next)
        Converts the input to a String, ensures that the input contains at least one of the specified substrings, then calls the next processor in the chain.
        Parameters:
        requiredSubStrings - the List of required substrings
        next - the next processor in the chain
        Throws:
        java.lang.NullPointerException - if requiredSubStrings, one of its elements or next is null
        java.lang.IllegalArgumentException - if requiredSubStrings is empty
      • RequireSubStr

        public RequireSubStr(java.lang.String requiredSubString,
                             CellProcessor next)
        Converts the input to a String, ensures that the input contains the specified substring, then calls the next processor in the chain.
        Parameters:
        requiredSubString - the required substring
        next - the next processor in the chain
        Throws:
        java.lang.NullPointerException - if requiredSubString or next is null
      • RequireSubStr

        public RequireSubStr(java.lang.String[] requiredSubStrings,
                             CellProcessor next)
        Converts the input to a String, ensures that the input contains at least one of the specified substrings, then calls the next processor in the chain.
        Parameters:
        requiredSubStrings - the List of required substrings
        next - the next processor in the chain
        Throws:
        java.lang.NullPointerException - if requiredSubStrings, one of its elements or next is null
        java.lang.IllegalArgumentException - if requiredSubStrings is empty

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.