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.