Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.servingxml.components.flatfile.scanner.bytes
Class FixedLengthByteRecordInput

    java.lang.Object
      com.servingxml.components.flatfile.scanner.bytes.FixedLengthByteRecordInput

All Implemented Interfaces:
  RecordInput

    public class FixedLengthByteRecordInput

extends java.lang.Object
implements RecordInput

Constructor Summary
`FixedLengthByteRecordInput(RecordBlock block, java.nio.charset.Charset charset)`

Method Summary
`RecordInput` | `concatentate(RecordInput ri)`
`boolean` | `done()`
`java.nio.charset.Charset` | `getCharset()`
`int` | `getLast()`
`int` | `getPosition()`
`int` | `readBytes(byte[] value)`
`void` | `readRepeatingGroup(int count, FlatFileOptions flatFileOptions, java.util.List<RecordInput> children)`
`RecordInput` | `readSegment(FlatFileOptions flatFileOptions)`
`RecordInput` | `readSegment(int segmentLength)`
`java.lang.String` | `readString(int width)`
`java.lang.String` | `readString(int maxLength, FlatFileOptions flatFileOptions)`
`java.lang.String[]` | `readStringArray(int maxLength, FlatFileOptions flatFileOptions)`
`int` | `reserve(int len)`
`void` | `setPosition(int index)`
`byte[]` | `toByteArray()`
`char[]` | `toCharArray()`
`void` | `updateLast()`
`void` | `wipe()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface com.servingxml.components.flatfile.RecordInput
`toString`

Constructor Detail

### FixedLengthByteRecordInput

    public FixedLengthByteRecordInput(RecordBlock block,
                                      java.nio.charset.Charset charset)

Method Detail

### toByteArray

    public byte[] toByteArray()

  Specified by:
    `toByteArray` in interface `RecordInput`

### toCharArray

    public char[] toCharArray()

  Specified by:
    `toCharArray` in interface `RecordInput`

### done

    public boolean done()

  Specified by:
    `done` in interface `RecordInput`

### readBytes

    public int readBytes(byte[] value)
                  throws java.io.IOException

  Specified by:
    `readBytes` in interface `RecordInput`
  Throws:
    `java.io.IOException`

### readString

    public java.lang.String readString(int width)
                                throws java.io.IOException

  Specified by:
    `readString` in interface `RecordInput`
  Throws:
    `java.io.IOException`

### readString

    public java.lang.String readString(int maxLength,
                                       FlatFileOptions flatFileOptions)
                                throws java.io.IOException

  Specified by:
    `readString` in interface `RecordInput`
  Throws:
    `java.io.IOException`

### readStringArray

    public java.lang.String[] readStringArray(int maxLength,
                                              FlatFileOptions flatFileOptions)
                                       throws java.io.IOException

  Specified by:
    `readStringArray` in interface `RecordInput`
  Throws:
    `java.io.IOException`

### getPosition

    public int getPosition()

  Specified by:
    `getPosition` in interface `RecordInput`

### getLast

    public int getLast()

  Specified by:
    `getLast` in interface `RecordInput`

### setPosition

    public void setPosition(int index)
                     throws java.io.IOException

  Specified by:
    `setPosition` in interface `RecordInput`
  Throws:
    `java.io.IOException`

### reserve

    public int reserve(int len)
                throws java.io.IOException

  Throws:
    `java.io.IOException`

### wipe

    public void wipe()

  Specified by:
    `wipe` in interface `RecordInput`

### updateLast

    public void updateLast()

### getCharset

    public java.nio.charset.Charset getCharset()

  Specified by:
    `getCharset` in interface `RecordInput`

### readRepeatingGroup

    public void readRepeatingGroup(int count,
                                   FlatFileOptions flatFileOptions,
                                   java.util.List<RecordInput> children)

  Specified by:
    `readRepeatingGroup` in interface `RecordInput`

### readSegment

    public RecordInput readSegment(FlatFileOptions flatFileOptions)

  Specified by:
    `readSegment` in interface `RecordInput`

### readSegment

    public RecordInput readSegment(int segmentLength)

  Specified by:
    `readSegment` in interface `RecordInput`

### concatentate

    public RecordInput concatentate(RecordInput ri)

  Specified by:
    `concatentate` in interface `RecordInput`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD