public class FormatStringConverter<T> extends StringConverter<T>
Formatインスタンスを使用可能なStringConverterの実装
| コンストラクタと説明 |
|---|
FormatStringConverter(Format format) |
| 修飾子と型 | メソッドと説明 |
|---|---|
T |
fromString(String value)
指定された文字列を特定のコンバータで定義されているオブジェクトに変換します。
|
protected Format |
getFormat()
この
StringConverterでのフォーマットおよび解析に使用するFormatインスタンスを返します。 |
String |
toString(T value)
指定されたオブジェクトを文字列形式に変換します。
|
public FormatStringConverter(Format format)
public T fromString(String value)
fromString、クラスStringConverter<T>public String toString(T value)
toString、クラスStringConverter<T>protected Format getFormat()
このStringConverterでのフォーマットおよび解析に使用するFormatインスタンスを返します。
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.