type-parser

This is a lightweigth library that does nothing but parse a string to a given type. Supports most of the java classes, such as Integer, File, Enum, Float and also generic types as well, such as List<Integer>, Set<File> etc. Also possible to register your own parsers.

License

License

GroupId

GroupId

com.github.drapostolos
ArtifactId

ArtifactId

type-parser
Last Version

Last Version

0.7.0
Release Date

Release Date

Type

Type

jar
Description

Description

type-parser
This is a lightweigth library that does nothing but parse a string to a given type. Supports most of the java classes, such as Integer, File, Enum, Float and also generic types as well, such as List<Integer>, Set<File> etc. Also possible to register your own parsers.
Project URL

Project URL

https://github.com/drapostolos/type-parser.git
Source Code Management

Source Code Management

https://github.com/drapostolos/type-parser.git

Download type-parser

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.drapostolos/type-parser/ -->
<dependency>
    <groupId>com.github.drapostolos</groupId>
    <artifactId>type-parser</artifactId>
    <version>0.7.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.drapostolos/type-parser/
implementation 'com.github.drapostolos:type-parser:0.7.0'
// https://jarcasting.com/artifacts/com.github.drapostolos/type-parser/
implementation ("com.github.drapostolos:type-parser:0.7.0")
'com.github.drapostolos:type-parser:jar:0.7.0'
<dependency org="com.github.drapostolos" name="type-parser" rev="0.7.0">
  <artifact name="type-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.drapostolos', module='type-parser', version='0.7.0')
)
libraryDependencies += "com.github.drapostolos" % "type-parser" % "0.7.0"
[com.github.drapostolos/type-parser "0.7.0"]

Dependencies

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 1.7.1

Project Modules

There are no modules declared in this project.

Build Status Coverage Status type-parser

This is a light weight library that does nothing but parse a string to a given type. Supports all applicable java classes, such as Integer, File, Enum, Float etc., including generic Collection types/interfaces such as List, Set, Map, arrays and even custom made types. Also possible to register your own parsers.

See [User Guide] (https://github.com/drapostolos/type-parser/wiki).

Versions

Version
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0