-
Notifications
You must be signed in to change notification settings - Fork 20
ph typeconvert
Philip Helger edited this page Apr 8, 2026
·
1 revision
Generic type conversion framework. Converters are registered via SPI and looked up at runtime.
Highlights:
-
TypeConverter- main entry point for converting between Java types -
ITypeConverter<SRC,DST>- converter interface (extendsFunction) -
TypeConverterRegistry- central converter registry (populated via SPI) -
ITypeConverterRule- rule-based converters for non-exact class matches -
ClassHierarchyCache- class hierarchy walking for fuzzy converter lookup
Also contains typed attribute containers:
-
IStringMap/StringMap-String-keyed,String-valued map -
IAttributeContainerAny/AttributeContainerAny- type-safe attribute storage with automatic conversion
Add the following to your pom.xml to use this artifact:
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-typeconvert</artifactId>
<version>x.y.z</version>
</dependency>On Twitter: Follow @philiphelger
Donation link: https://paypal.me/PhilipHelger
It is appreciated if you star the GitHub project if you like it.
-
Home
- ph-annotations
- ph-base
- ph-bc
- ph-cache
- ph-cli
- ph-collection
- ph-commons
- ph-config
- ph-config-json
- ph-csv
- ph-dao
- ph-datetime
- ph-diagnostics
- ph-graph
- ph-http
- ph-io
- ph-jaxb
- ph-jaxb-adapter
- ph-json
- ph-matrix
- ph-mime
- ph-scopes
- ph-security
- ph-settings
- ph-statistics
- ph-telemetry
- ph-text
- ph-tree
- ph-typeconvert
- ph-unittest-support
- ph-unittest-support-ext
- ph-url
- ph-wsclient
- ph-xml
- News and noteworthy
- License
- History