public interface

Parser

org.springframework.format.Parser<T>
Known Indirect Subclasses

Class Overview

Parses text strings to produce instances of T.

Summary

Public Methods
abstract T parse(String text, Locale locale)
Parse a text String to produce a T.

Public Methods

public abstract T parse (String text, Locale locale)

Parse a text String to produce a T.

Parameters
text the text string
locale the current user locale
Returns
  • an instance of T
Throws
ParseException when a parse exception occurs in a java.text parsing library
IllegalArgumentException when a parse exception occurs