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

Class RequireHashCode

    • Constructor Summary

      Constructors 
      Constructor and Description
      RequireHashCode(int... requiredHashcodes)
      Constructs a new RequireHashCode processor, which converts the input to a String, and ensures that the input's hash function matches any of a given set of hashcodes.
      RequireHashCode(int[] requiredHashcodes, CellProcessor next)
      Constructs a new RequireHashCode processor, which converts the input to a String, ensures that the input's hash function matches any of a given set of hashcodes, then calls the next processor in the chain.
      RequireHashCode(int requiredHashcode, CellProcessor next)
      Constructs a new RequireHashCode processor, which converts the input to a String, ensures that the input's hash function matches the supplied hashcode, 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

      • RequireHashCode

        public RequireHashCode(int... requiredHashcodes)
        Constructs a new RequireHashCode processor, which converts the input to a String, and ensures that the input's hash function matches any of a given set of hashcodes.
        Parameters:
        requiredHashcodes - one or more hashcodes
        Throws:
        java.lang.NullPointerException - if requiredHashcodes is null
        java.lang.IllegalArgumentException - if requiredHashcodes is empty
      • RequireHashCode

        public RequireHashCode(int requiredHashcode,
                               CellProcessor next)
        Constructs a new RequireHashCode processor, which converts the input to a String, ensures that the input's hash function matches the supplied hashcode, then calls the next processor in the chain.
        Parameters:
        requiredHashcode - the required hashcode
        next - the next processor in the chain
        Throws:
        java.lang.NullPointerException - if next is null
      • RequireHashCode

        public RequireHashCode(int[] requiredHashcodes,
                               CellProcessor next)
        Constructs a new RequireHashCode processor, which converts the input to a String, ensures that the input's hash function matches any of a given set of hashcodes, then calls the next processor in the chain.
        Parameters:
        requiredHashcodes - one or more hashcodes
        next - the next processor in the chain
        Throws:
        java.lang.NullPointerException - if requiredHashcodes or next is null
        java.lang.IllegalArgumentException - if requiredHashcodes is empty

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.