Object

za.co.absa.cobrix.cobol.parser.decoders

StringDecoders

Related Doc: package decoders

Permalink

object StringDecoders

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringDecoders
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val TrimBoth: Int

    Permalink
  5. val TrimLeft: Int

    Permalink
  6. val TrimNone: Int

    Permalink
  7. val TrimRight: Int

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def decodeAsciiBigDecimal(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean): BigDecimal

    Permalink

    Decode decimal number from an ASCII string converting it to a big decimal This decoder is used to convert decimal numbers with explicit decimal point

    Decode decimal number from an ASCII string converting it to a big decimal This decoder is used to convert decimal numbers with explicit decimal point

    bytes

    A byte array that represents the binary data

    returns

    A big decimal containing a big integral number

  11. final def decodeAsciiBigNumber(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean, scale: Int = 0, scaleFactor: Int = 0): BigDecimal

    Permalink

    Decode a number from an ASCII string converting it to a big decimal

    Decode a number from an ASCII string converting it to a big decimal

    bytes

    A byte array that represents the binary data

    scale

    A decimal scale in case decimal number with implicit decimal point is expected

    scaleFactor

    Additional zeros to be added before of after the decimal point

    returns

    A big decimal containing a big integral number

  12. final def decodeAsciiInt(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean): Integer

    Permalink

    Decode integral number from an ASCII string converting it to an integer

    Decode integral number from an ASCII string converting it to an integer

    bytes

    A byte array that represents the binary data

    returns

    A boxed integer

  13. final def decodeAsciiLong(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean): Long

    Permalink

    Decode integral number from an ASCII string converting it to an long

    Decode integral number from an ASCII string converting it to an long

    bytes

    A byte array that represents the binary data

    returns

    A boxed long

  14. final def decodeAsciiNumber(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean): String

    Permalink

    A decoder for any ASCII uncompressed numbers supporting leading and trailing sign

    A decoder for any ASCII uncompressed numbers supporting leading and trailing sign

    bytes

    A byte array that represents the binary data

    isUnsigned

    Is the number expected to be unsigned

    improvedNullDetection

    if true, return null if all bytes are zero

    returns

    A string representation of the binary data

  15. final def decodeAsciiString(bytes: Array[Byte], trimmingType: Int, improvedNullDetection: Boolean): String

    Permalink

    A decoder for any ASCII string fields (alphabetical or any char)

    A decoder for any ASCII string fields (alphabetical or any char)

    bytes

    A byte array that represents the binary data

    trimmingType

    Specifies if and how the soutput string should be trimmed

    improvedNullDetection

    if true, return null if all bytes are zero

    returns

    A string representation of the binary data

  16. final def decodeEbcdicBigDecimal(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean): BigDecimal

    Permalink

    Decode decimal number from an EBCDIC string converting it to a big decimal This decoder is used to convert decimal numbers with explicit decimal point

    Decode decimal number from an EBCDIC string converting it to a big decimal This decoder is used to convert decimal numbers with explicit decimal point

    bytes

    A byte array that represents the binary data

    returns

    A big decimal containing a big integral number

  17. final def decodeEbcdicBigNumber(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean, scale: Int = 0, scaleFactor: Int = 0): BigDecimal

    Permalink

    Decode a number from an EBCDIC string converting it to a big decimal

    Decode a number from an EBCDIC string converting it to a big decimal

    bytes

    A byte array that represents the binary data

    scale

    A decimal scale in case decimal number with implicit decimal point is expected

    scaleFactor

    Additional zeros to be added before of after the decimal point

    returns

    A big decimal containing a big integral number

  18. final def decodeEbcdicInt(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean): Integer

    Permalink

    Decode integral number from an EBCDIC string converting it to an integer

    Decode integral number from an EBCDIC string converting it to an integer

    bytes

    A byte array that represents the binary data

    returns

    A boxed integer

  19. final def decodeEbcdicLong(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean): Long

    Permalink

    Decode integral number from an EBCDIC string converting it to an long

    Decode integral number from an EBCDIC string converting it to an long

    bytes

    A byte array that represents the binary data

    returns

    A boxed long

  20. final def decodeEbcdicNumber(bytes: Array[Byte], isUnsigned: Boolean, improvedNullDetection: Boolean): String

    Permalink

    A decoder for any EBCDIC uncompressed numbers supporting

    A decoder for any EBCDIC uncompressed numbers supporting

    • Separate leading and trailing sign
    • Sign punched into the number
    • Explicit decimal point
    bytes

    A byte array that represents the binary data

    isUnsigned

    Is the number expected to be unsigned

    improvedNullDetection

    if true, return null if all bytes are zero

    returns

    A string representation of the binary data

  21. final def decodeEbcdicString(bytes: Array[Byte], trimmingType: Int, conversionTable: Array[Char], improvedNullDetection: Boolean): String

    Permalink

    A decoder for any EBCDIC string fields (alphabetical or any char)

    A decoder for any EBCDIC string fields (alphabetical or any char)

    bytes

    A byte array that represents the binary data

    trimmingType

    Specifies if and how the soutput string should be trimmed

    conversionTable

    A conversion table to use to convert from EBCDIC to ASCII

    improvedNullDetection

    if true, return null if all bytes are zero

    returns

    A string representation of the binary data

  22. final def decodeHex(bytes: Array[Byte]): String

    Permalink

    A decoder for representing bytes as hex strings

    A decoder for representing bytes as hex strings

    bytes

    A byte array that represents the binary data

    returns

    A HEX string representation of the binary data

  23. final def decodeRaw(bytes: Array[Byte]): Array[Byte]

    Permalink

    A decoder that doesn't decode, but just passes the bytes the way they are.

    A decoder that doesn't decode, but just passes the bytes the way they are.

    bytes

    A byte array that represents the binary data

    returns

    A string representation of the bytes

  24. final def decodeUtf16String(bytes: Array[Byte], trimmingType: Int, isUtf16BigEndian: Boolean, improvedNullDetection: Boolean): String

    Permalink

    A decoder for any UTF-16 string field

    A decoder for any UTF-16 string field

    bytes

    A byte array that represents the binary data

    trimmingType

    Specifies if and how the soutput string should be trimmed

    improvedNullDetection

    if true, return null if all bytes are zero

    returns

    A string representation of the binary data

  25. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped