Theme: Revenge of the Tool Jam – hosted by PoV – May 2014

<– Return to Announcement Post

Back to Browse Entries

Better Parsing

by gandalf1209 - Mini LD 51 Entry

Better Parsing for Java is a library that enhances the parsing tools Java has provided within the language. Normally, parsing for an integer in Java would require the String to include only a number. Now, with Better Parsing, you can have something like "StartX=5" come out to be the integer 5. Good for easier save files, and dummy-proofing user input in a game.

== 5/29/14 - 9:30 PM ==
Usable Data Types:
Integer - Int.parseInt(String)
Boolean - Bool.parseBoolean(String)
Byte - Bytes.parseByte(String)
Double - Doubles.parseDouble(String)

== 5/30/14 - 8:15 AM ==
Added Short parsing - Shorts.parseShort(String)

Thanks to triavanicus for explaining my idiocy
Thanks to acatera for doing research

Downloads and Links


Comments

You must sign in to comment.


[cache: storing page]