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

Class Equals

    • Constructor Summary

      Constructors 
      Constructor and Description
      Equals()
      Constructs a new Equals processor, which ensures all input data is equal.
      Equals(CellProcessor next)
      Constructs a new Equals processor, which ensures all input data is equal, then calls the the next processor in the chain.
      Equals(java.lang.Object constantValue)
      Constructs a new Equals processor, which ensures all input data is equal to the supplied constant value.
      Equals(java.lang.Object constantValue, CellProcessor next)
      Constructs a new Equals processor, which ensures all input data is equal to the supplied constant value, then calls the 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

      • Equals

        public Equals()
        Constructs a new Equals processor, which ensures all input data is equal.
      • Equals

        public Equals(java.lang.Object constantValue)
        Constructs a new Equals processor, which ensures all input data is equal to the supplied constant value.
        Parameters:
        constantValue - the constant value that all input must equal
      • Equals

        public Equals(CellProcessor next)
        Constructs a new Equals processor, which ensures all input data is equal, then calls the the next processor in the chain.
        Parameters:
        next - the next processor in the chain
        Throws:
        java.lang.NullPointerException - if next is null
      • Equals

        public Equals(java.lang.Object constantValue,
                      CellProcessor next)
        Constructs a new Equals processor, which ensures all input data is equal to the supplied constant value, then calls the the next processor in the chain.
        Parameters:
        constantValue - the constant value that all input must equal
        next - the next processor in the chain
        Throws:
        java.lang.NullPointerException - if next is null
    • Method Detail

      • execute

        public 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.
        Specified by:
        execute in interface CellProcessor
        Throws:
        SuperCsvConstraintViolationException - if value isn't equal to the constant value (or previously encountered value if a constant wasn't supplied)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.