Module  javafx.base
软件包  javafx.util.converter

Class ByteStringConverter

    • 构造方法详细信息

      • ByteStringConverter

        public ByteStringConverter​()
    • 方法详细信息

      • fromString

        public Byte fromString​(String value)
        将提供的字符串转换为由特定转换器定义的对象。 字符串的格式和结果对象的类型由特定的转换器定义。
        Specified by:
        fromStringStringConverter<Byte>
        参数
        value - String转换
        结果
        传入的字符串的对象表示。
      • toString

        public String toString​(Byte value)
        将提供的对象转换为其字符串形式。 返回的字符串的格式由特定的转换器定义。
        Specified by:
        toStringStringConverter<Byte>
        参数
        value - 要转换的类型为 T的对象
        结果
        传入的对象的字符串表示形式。