Posts Written By: srigalamilitan

Implementation Dynamic Specification Using RSQL-Parser Example

Introducing Changes Is Enemy, But We Must Prepared . – I have been code with spring boot and thymeleaf, When the *User Interface * add a new search criteria the backend code (my repository, service and controller) must changed too. Honestly I don’t like that. to much changing :(. I try searching library to handle […]

Simple Implementations Tesseract OCR on Android

Tesseract is an optical character recognition engine for various operating systems. It is free software, released under the Apache License, Version 2.0, and development has been sponsored by Google since 2006. Tesseract is considered one of the most accurate open source OCR engines currently available Wikipedia Image processing is widely used in helping to resolve […]

Small Case But Solve BolierPlate Of My Code StringUtils Apache Common Lang.

StringUtils is Operations on String that are null safe. Snipset code below was a my code history.

Look More Simple.. 😀 StringUtils Helpme todo some operatations like : IsEmpty/IsBlank – checks if a String contains text Trim/Strip – removes leading and trailing whitespace Substring/Left/Right/Mid – null-safe substring extractions SubstringBefore/SubstringAfter/SubstringBetween – substring extraction relative to […]

FastDateFormat is Fast by Apache Commons Lang Example

FastDateFormat is a fast and thread-safe version of SimpleDateFormat.To obtain an instance of FastDateFormat, use one of the static factory methods: getInstance(String, TimeZone, Locale), getDateInstance(int, TimeZone, Locale),getTimeInstance(int, TimeZone, Locale), or getDateTimeInstance(int, int, TimeZone, Locale) Since FastDateFormat is thread safe, you can use a static member instance: private static final FastDateFormat DATE_FORMATTER = FastDateFormat.getDateTimeInstance(FastDateFormat.LONG, FastDateFormat.SHORT); This […]

Simple way to get a random String or Numeric Using RandomUtils and RandomStringUtils

Take a look for RandomStringUtils and RandomUtils. Apache Common-langs make a simple way to do it. RandomUtils is a Utility library that supplement the sandart Random class. RandomStringUtils is an operations for random Strings. Currently private high surrogate characters are ignored. These are Unicode characters that fall between the values 56192 (db80) and 56319 (dbff) […]

Simple way to get Java System Properties Using Apache Commons Lang3

SystemUtils help us to know java system properties. We Don’t need get manually. let check this snipset code And here are the results of our code snippet above: Visit My Repository for full code

How do I Calculate java.util.date using Apache Common Lang3

Do you have a little bored using Java Util Date? Say it to do little operation using java Util Date. example parsing String to Date, add days , add month, round Date, truncate date ceiling date and more operation. Using standart java code we will add some code to these operation. Now I Have a […]

How To use Strings Google Guava

Strings is a part of google Guava librarys. Strings is Static utility methods pertaining to String or CharSequence instances. Strings helps us to : Check Null Value Pad String Repeat String Check Prefix or Sufix Let See The example code below : And here are the results of our code snippet above: Visit My Repository […]

How to use Splitter Google Guava

Another Blog says Google Guava Splitter is Faster , Whatsss…?? 10 Times , Seriously ?? We need to how Splitter Guava Work and how to use it.  For the First time wee need to read Google Guava Splitter Documentation. Extracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence. This separator can […]

How to use Joiner Google Guava

Joiner is part library of google guava, this class help us to join a List and Map. An object which joins pieces of text (specified as an array, Iterable, varargs or even a Map) with a separator. It either appends the results to an Appendable or returns them as a String. Let’s see the Example : […]