Class IndexedCharArrayGetter

java.lang.Object
org.simpleflatmapper.reflect.getter.IndexedCharArrayGetter
All Implemented Interfaces:
Getter<char[],Character>, CharacterGetter<char[]>

public final class IndexedCharArrayGetter extends Object implements Getter<char[],Character>, CharacterGetter<char[]>
  • Constructor Details

    • IndexedCharArrayGetter

      public IndexedCharArrayGetter(int index)
  • Method Details

    • getCharacter

      public char getCharacter(char[] target) throws Exception
      Specified by:
      getCharacter in interface CharacterGetter<char[]>
      Throws:
      Exception
    • get

      public Character get(char[] target) throws Exception
      Description copied from interface: Getter
      Return the property from the specified object.
      Specified by:
      get in interface Getter<char[],Character>
      Parameters:
      target - the object to get the property from
      Returns:
      the property
      Throws:
      Exception - if anything goes wrong