|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface RecordFieldReaderFormatable
ファイルのレコード項目をフォーマットするためのインタフェース(Reader用)。
メソッドの概要 | |
---|---|
String |
format(String pattern,
String type,
String data)
引数の文字列をフォーマットします。 |
String |
trim(String algin,
String padding,
String data)
引数の文字列をトリムします。 |
メソッドの詳細 |
---|
String trim(String algin, String padding, String data) throws DataFormatException
algin
- アラインメント指定子(右寄せ・左寄せ)padding
- パディング文字data
- トリム対象の文字列
DataFormatException
- 引数に指定された値のフォーマットに間違いがある場合に発生します。String format(String pattern, String type, String data) throws DataFormatException
pattern
- フォーマットtype
- タイプdata
- フォーマット対象の文字列
DataFormatException
- 引数に指定された値のフォーマットに間違いがある場合に発生します。
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |