Package de.samply.reporter.context
Record Class CsvConfig
java.lang.Object
java.lang.Record
de.samply.reporter.context.CsvConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharset()Returns the value of thecharsetrecord component.Returns the value of thedelimiterrecord component.Returns the value of theendOfLinerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CsvConfig
Creates an instance of aCsvConfigrecord class.- Parameters:
charset- the value for thecharsetrecord componentendOfLine- the value for theendOfLinerecord componentdelimiter- the value for thedelimiterrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
charset
Returns the value of thecharsetrecord component.- Returns:
- the value of the
charsetrecord component
-
endOfLine
Returns the value of theendOfLinerecord component.- Returns:
- the value of the
endOfLinerecord component
-
delimiter
Returns the value of thedelimiterrecord component.- Returns:
- the value of the
delimiterrecord component
-