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 KeepAll: Int

    Permalink
  5. val TrimBoth: Int

    Permalink
  6. val TrimLeft: Int

    Permalink
  7. val TrimNone: Int

    Permalink
  8. val TrimRight: Int

    Permalink
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def decodeAsciiBigDecimal(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    returns

    A big decimal containing a big integral number

  12. final def decodeAsciiBigNumber(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    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

  13. final def decodeAsciiInt(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    returns

    A boxed integer

  14. final def decodeAsciiLong(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    returns

    A boxed long

  15. final def decodeAsciiNumber(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    improvedNullDetection

    if true, return null if all bytes are zero

    returns

    A string representation of the binary data

  16. 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

  17. final def decodeEbcdicBigDecimal(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    returns

    A big decimal containing a big integral number

  18. final def decodeEbcdicBigNumber(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    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

  19. final def decodeEbcdicInt(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    returns

    A boxed integer

  20. final def decodeEbcdicLong(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    returns

    A boxed long

  21. final def decodeEbcdicNumber(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: 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

    allowSignOverpunch

    if true, sign overpunching is allowed.

    improvedNullDetection

    if true, return null if all bytes are zero

    returns

    A string representation of the binary data

  22. final def decodeEbcdicString(bytes: Array[Byte], trimmingType: Int, codePage: CodePage, 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

    codePage

    EBCDIC code page

    improvedNullDetection

    if true, return null if all bytes are zero

    returns

    A string representation of the binary data

  23. 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

  24. 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

  25. 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped