Convert

Java is a type sensitive language. In complex projects, Sometimes you don't want that sensitivity and sometimes you want to pass a value, and you want the receiver to convert it to the compatible type. Or you maybe the receiver and you want any value to be converted to a specific type. All of that is possible with the convert package.


Converter
GitHub Javadoc


An abstract of how converters should be. The class is based on tokens concept. Each converting operation should have a token that have all the variables of that operation.



AbstractConverter
GitHub Javadoc


An abstract that manages and organize the methods of the class inheriting it. The sub-class had to just focus on providing converting-methods and this class will manage everything else using reflection.



BaseConverter
GitHub Javadoc


An implementation of the `AbstractConverter` with the basic conversions.