hutdev / jprom Goto Github PK
View Code? Open in Web Editor NEWA library for mapping Java property files to objects
License: ISC License
A library for mapping Java property files to objects
License: ISC License
Currently a call of PropertyUnmarshaller.unmarshal is needed for each type that needs to be unmarshalled from property data. Find a way to unmarshal several types from property data in a single function call.
Currently each object needs to be wrapped in a Collection before it can be passed to PropertyMarshaller. Provide a method that allows passing single objects to the PropertyMarshaller.
Currently only target types with String constructors are supported. It should be possible to implement custom type converters and add them to the (at)Property annotations to support custom types.
Also, some Classes with String constructors can behave unexpectedly, e. g. Locale:
Locale.GERMANY.toString() == "de_de"
new Locale("de_de") != Locale.GERMANY
Tasks:
E. g. : JPromUtils.read(clazz).from(input)
Create operational combiner methods. No op combiners might not be supported in future Java versions.
PropertyUnmarshaller and PropertyMarshaller currently use hut.jprom.PropertyProcessor.getPropertyFields to obtain information about annotated fields. Holding information about the getter and setter methods (e. g. via two methods getPropertyGetters and getPropertySetters) could improve performance.
Unmarshalling could be simplified by classpath scanning. This way it would not be necessary to pass the target classes to the unmarshalling methods. Cf. #7
Jprom could be used for easy management of ResourceBundles for i18n purposes.
Use ASM for faster analysis of annotated types and fields instead of the reflection API.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.