1 Star 0 Fork 468

Liuy-12/source-code-hunter

forked from doocs/source-code-hunter 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github/workflows
docs
Dubbo
JDK
LearningExperience
Mybatis
Netty
Redis
Sentinel
Spring
AOP
IoC
JDBC
RMI
Spring5新特性
SpringMVC
SpringTransaction
Spring整体脉络
Spring源码故事(瞎编版)
TX
clazz
PlaceholderResolver
PropertySource
format
AnnotationFormatterFactory
Parser
Printer
Spring-AnnotationFormatterFactory.md
Spring-Formatter.md
Spring-Parser.md
Spring-Printer.md
Spring-AnnotationUtils.md
Spring-ApplicationListener.md
Spring-BeanDefinitionParserDelegate.md
Spring-BeanDefinitionReaderUtils.md
Spring-BeanFactoryPostProcessor.md
Spring-BeanNameGenerator.md
Spring-Conditional.md
Spring-Custom-attribute-resolver.md
Spring-Custom-label-resolution.md
Spring-DefaultSingletonBeanRegistry.md
Spring-EntityResolver.md
Spring-Import.md
Spring-MessageSource.md
Spring-Metadata.md
Spring-MethodOverride.md
Spring-MultiValueMap.md
Spring-OrderComparator.md
Spring-OrderUtils.md
Spring-Property.md
Spring-PropertyPlaceholderHelper.md
Spring-PropertySources.md
Spring-Scheduling.md
Spring-SimpleAliasRegistry.md
Spring-SpringFactoriesLoader.md
Spring-StopWatch.md
Spring-SystemPropertyUtils.md
Spring-beanFactory.md
Spring-scan.md
message
mvc
SpringBoot
SpringBootBatch
SpringCloud
SpringSecurity
Tomcat
nacos
rocketmq
images
.gitattributes
.gitignore
.prettierignore
.prettierrc
LICENSE
README.md
index.html
package-lock.json
package.json
vercel.json
克隆/下载
Spring-Parser.md 629 Bytes
一键复制 编辑 原始数据 按行查看 历史
yanglbme 提交于 5年前 . docs: prettify code

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

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/liuy-12/source-code-hunter.git
git@gitee.com:liuy-12/source-code-hunter.git
liuy-12
source-code-hunter
source-code-hunter
main

搜索帮助