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

## au.com.bytecode.opencsv.bean
Interface MappingStrategy

All Known Implementing Classes:
  HeaderColumnNameMappingStrategy

public interface MappingStrategy

Method Summary
`void` | `captureHeader(CSVReader reader)` Implemention of this method can grab the header line before parsing begins to use to map columns to bean properties.
`java.lang.Object` | `createBean()`
`java.beans.PropertyDescriptor` | `findDescriptor(int col)` Implementation will have to return a property descriptor from a bean based on the current column.

Method Detail

### findDescriptor

    public java.beans.PropertyDescriptor findDescriptor(int col)
                                                 throws java.beans.IntrospectionException

  Implementation will have to return a property descriptor from a bean based on the current column.

  Throws:
    `java.beans.IntrospectionException`

### createBean

    public java.lang.Object createBean()
                                throws java.lang.InstantiationException,
                                       java.lang.IllegalAccessException

  Throws:
    `java.lang.InstantiationException`
    `java.lang.IllegalAccessException`

### captureHeader

    public void captureHeader(CSVReader reader)
                       throws java.io.IOException

  Implemention of this method can grab the header line before parsing begins to use to map columns to bean properties.

  Throws:
    `java.io.IOException`

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

Copyright © 2005-2007 Bytecode Pty Ltd.