org.stormcat.jvbeans.jvlink.analyze.binder
クラス JvIncludeSeparatorDataBinder

java.lang.Object
  上位を拡張 org.stormcat.jvbeans.jvlink.analyze.binder.JvDataBinder
      上位を拡張 org.stormcat.jvbeans.jvlink.analyze.binder.JvIncludeSeparatorDataBinder
直系の既知のサブクラス:
JvCsvDataBinder, JvTsvDataBinder

public abstract class JvIncludeSeparatorDataBinder
extends JvDataBinder

任意のセパレータ文字列で区切られたJV-Dataをバインドするための抽象Binderです。

導入されたバージョン:
0.3
作成者:
a.yamada

フィールドの概要
 
クラス org.stormcat.jvbeans.jvlink.analyze.binder.JvDataBinder から継承されたフィールド
inputType
 
コンストラクタの概要
protected JvIncludeSeparatorDataBinder(FileExtension inputType)
          コンストラクタ
 
メソッドの概要
<T> void
bindProperty(List<JvRecordMeta> metaItems, T dto, String data)
          Jv-Dataをメタ情報を基にDTOにバインディングします。
protected abstract  String getSeparator()
          セパレーター文字列を取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JvIncludeSeparatorDataBinder

protected JvIncludeSeparatorDataBinder(FileExtension inputType)
コンストラクタ

パラメータ:
inputType - 入力形式
メソッドの詳細

bindProperty

public <T> void bindProperty(List<JvRecordMeta> metaItems,
                             T dto,
                             String data)
Jv-Dataをメタ情報を基にDTOにバインディングします。

定義:
クラス JvDataBinder 内の bindProperty
型パラメータ:
T - DTO型パラメータ
パラメータ:
metaItems - メタ情報リスト
dto - データバインディング対象DTO
data - バインディング用文字列

getSeparator

protected abstract String getSeparator()
セパレーター文字列を取得します。

このセパレーター文字列によってJV-Dataの各レコードは区切られます。

戻り値:
セパレーター文字列


Copyright © 2009-2011 The Stormcat Project AllRights Reserved.