GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — source-code-hunter/docs/Spring/clazz/format/Spring-Parser.md at main · GAM1234/source-code-hunter

Expand file tree

/

Spring-Parser.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
27 lines (20 loc) · 629 Bytes
/

Spring-Parser.md

Copy path

File metadata and controls

27 lines (20 loc) · 629 Bytes
Raw
Copy raw file
Download raw file
Edit and raw actions

Spring Parser

  • 类全路径: org.springframework.format.Parser
  • 类作用: 字符串准换成 java 对象
@FunctionalInterface
public interface Parser<T> {

	/**
	 * Parse a text String to produce a T.
	 * 将字符串转换成对象
	 * @param text the text string
	 * @param locale the current user locale
	 * @return an instance of T
	 * @throws ParseException when a parse exception occurs in a java.text parsing library
	 * @throws IllegalArgumentException when a parse exception occurs
	 */
	T parse(String text, Locale locale) throws ParseException;

}
  • 类图

Parser

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.