Package app.babylon.table.io
Record Class ReadOptionsCsv
java.lang.Object
java.lang.Record
app.babylon.table.io.ReadOptionsCsv
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionReadOptionsCsv(char separator, char quote, int[] fixedWidths, Charset charset, boolean autoDetectEncoding) Creates an instance of aReadOptionsCsvrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theautoDetectEncodingrecord component.static ReadOptionsCsv.Builderbuilder()charset()Returns the value of thecharsetrecord component.final booleanIndicates whether some other object is "equal to" this one.int[]Returns the value of thefixedWidthsrecord component.final inthashCode()Returns a hash code value for this object.charquote()Returns the value of thequoterecord component.charReturns the value of theseparatorrecord component.static ReadOptionsCsvstandard()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReadOptionsCsv
public ReadOptionsCsv(char separator, char quote, int[] fixedWidths, Charset charset, boolean autoDetectEncoding) Creates an instance of aReadOptionsCsvrecord class.- Parameters:
separator- the value for theseparatorrecord componentquote- the value for thequoterecord componentfixedWidths- the value for thefixedWidthsrecord componentcharset- the value for thecharsetrecord componentautoDetectEncoding- the value for theautoDetectEncodingrecord component
-
-
Method Details
-
standard
-
builder
-
fixedWidths
public int[] fixedWidths()Returns the value of thefixedWidthsrecord component.- Returns:
- the value of the
fixedWidthsrecord component
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
separator
public char separator()Returns the value of theseparatorrecord component.- Returns:
- the value of the
separatorrecord component
-
quote
public char quote()Returns the value of thequoterecord component.- Returns:
- the value of the
quoterecord component
-
charset
Returns the value of thecharsetrecord component.- Returns:
- the value of the
charsetrecord component
-
autoDetectEncoding
public boolean autoDetectEncoding()Returns the value of theautoDetectEncodingrecord component.- Returns:
- the value of the
autoDetectEncodingrecord component
-