Interface DialectForwarding<D extends Dialect>

All Superinterfaces:
Dialect
All Known Subinterfaces:
DialectMutableForwarding<D>
All Known Implementing Classes:
DialectForwardingBase, DialectMutableForwardingBase

public interface DialectForwarding<D extends Dialect> extends Dialect
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string.
     
    default String
    An atomic property that sets the delimiter flag to the single provided value, which MUST be a string.
    default String
    An atomic property that sets the encoding flag to the single provided string value, which MUST be a defined in [encoding].
    default Boolean
    A boolean atomic property that, if `true`, sets the header row count flag to `1`, and if `false` to `0`, unless headerRowCount is provided, in which case the value provided for the header property is ignored.
    default Long
    An numeric atomic property that sets the header row count flag to the single provided value, which must be a non-negative integer.
    default String
    An atomic property that sets the line terminators flag to either an array containing the single provided string value, or the provided array.
    default String
    An atomic property that sets the quote character flag to the single provided value, which must be a string or `null`.
    default String
    Extension: Quote escape char
    default Boolean
    An boolean atomic property that sets the `skip blank rows` flag to the single provided boolean value.
    default Long
    An numeric atomic property that sets the `skip columns` flag to the single provided numeric value, which MUST be a non-negative integer.
    default Boolean
    A boolean atomic property that, if `true`, sets the trim flag to "start".
    default Long
    An numeric atomic property that sets the `skip rows` flag to the single provided numeric value, which MUST be a non-negative integer.
    default String
    An atomic property that, if the boolean `true`, sets the trim flag to `true` and if the boolean `false` to `false`.
    default Boolean
    A boolean atomic property that, if `true`, sets the escape character flag to `"`.

    Methods inherited from interface org.aksw.commons.model.csvw.domain.api.Dialect

    copyInto, getLineTerminatorList
  • Method Details

    • getDelegate

      D getDelegate()
    • getCommentPrefix

      default String getCommentPrefix()
      Description copied from interface: Dialect
      An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string.
      Specified by:
      getCommentPrefix in interface Dialect
    • getDelimiter

      default String getDelimiter()
      Description copied from interface: Dialect
      An atomic property that sets the delimiter flag to the single provided value, which MUST be a string.
      Specified by:
      getDelimiter in interface Dialect
    • isDoubleQuote

      default Boolean isDoubleQuote()
      Description copied from interface: Dialect
      A boolean atomic property that, if `true`, sets the escape character flag to `"`.
      Specified by:
      isDoubleQuote in interface Dialect
    • getEncoding

      default String getEncoding()
      Description copied from interface: Dialect
      An atomic property that sets the encoding flag to the single provided string value, which MUST be a defined in [encoding]. The default is "utf-8".
      Specified by:
      getEncoding in interface Dialect
    • getHeader

      default Boolean getHeader()
      Description copied from interface: Dialect
      A boolean atomic property that, if `true`, sets the header row count flag to `1`, and if `false` to `0`, unless headerRowCount is provided, in which case the value provided for the header property is ignored.
      Specified by:
      getHeader in interface Dialect
    • getHeaderRowCount

      default Long getHeaderRowCount()
      Description copied from interface: Dialect
      An numeric atomic property that sets the header row count flag to the single provided value, which must be a non-negative integer.
      Specified by:
      getHeaderRowCount in interface Dialect
    • getLineTerminators

      default String getLineTerminators()
      Description copied from interface: Dialect
      An atomic property that sets the line terminators flag to either an array containing the single provided string value, or the provided array.
      Specified by:
      getLineTerminators in interface Dialect
    • getQuoteChar

      default String getQuoteChar()
      Description copied from interface: Dialect
      An atomic property that sets the quote character flag to the single provided value, which must be a string or `null`.
      Specified by:
      getQuoteChar in interface Dialect
    • getSkipBlankRows

      default Boolean getSkipBlankRows()
      Description copied from interface: Dialect
      An boolean atomic property that sets the `skip blank rows` flag to the single provided boolean value.
      Specified by:
      getSkipBlankRows in interface Dialect
    • getSkipColumns

      default Long getSkipColumns()
      Description copied from interface: Dialect
      An numeric atomic property that sets the `skip columns` flag to the single provided numeric value, which MUST be a non-negative integer.
      Specified by:
      getSkipColumns in interface Dialect
    • getSkipInitialSpace

      default Boolean getSkipInitialSpace()
      Description copied from interface: Dialect
      A boolean atomic property that, if `true`, sets the trim flag to "start". If `false`, to `false`.
      Specified by:
      getSkipInitialSpace in interface Dialect
    • getSkipRows

      default Long getSkipRows()
      Description copied from interface: Dialect
      An numeric atomic property that sets the `skip rows` flag to the single provided numeric value, which MUST be a non-negative integer.
      Specified by:
      getSkipRows in interface Dialect
    • getTrim

      default String getTrim()
      Description copied from interface: Dialect
      An atomic property that, if the boolean `true`, sets the trim flag to `true` and if the boolean `false` to `false`. If the value provided is a string, sets the trim flag to the provided value, which must be one of "true", "false", "start" or "end". rdfs:range xsd:boolean rdfs:domain csvw:Dialect Holy cow... so let's just assume the literal strings "true"/"false" represent the corresponding boolean value and thus the range is string. Otherwise we'd either have to result to Object or use a BooleanOrString class.
      Specified by:
      getTrim in interface Dialect
    • getQuoteEscapeChar

      default String getQuoteEscapeChar()
      Description copied from interface: Dialect
      Extension: Quote escape char
      Specified by:
      getQuoteEscapeChar in interface Dialect