Files API in JAVA 8
Java8 comes with a great Files API. Doing anything with folders and files are much easier than ever. You don’t have to use the File object packed with java.io package. Let’s take a look at that Files API in JAVA 8 … Read more
In this category, you will find JAVA tutorials. We tried our best to explain our experience in JAVA step by step. Also, if you struggle with any JAVA related problem, we will try to do our best to help you.
Java8 comes with a great Files API. Doing anything with folders and files are much easier than ever. You don’t have to use the File object packed with java.io package. Let’s take a look at that Files API in JAVA 8 … Read more
In this article, we’ll share some basic DateTime conversion by using DateTime API of Java 8 that you would need in a project. Working with Dates, trying to convert them into the proper format is always a pain in the ass. After … Read more
How to return a subclass instance in an abstract class with Java generics was a question for me when I was dealing with fluent test automation projects. In this article, I will share my solution with you. When we are … Read more
Hi all, if you use slf4j-simple in your projects, you may be faced with default log reporting and if you don’t want to see especially INFO level logs in your console, you need to modify logging levels. There are some ways … Read more
Hello all, in this article I will demonstrate you how to use a common custom annotation to merge the other annotations in JAVA. If you need to use multiple annotations in your test classes, you can use this technique to … Read more
Hi all, when we are using IntelliJ sometimes we need to set the right language level by using module settings. We will set the language setting as JAVA 8 as shown below. And also in settings, we set the bytecode … Read more
Lambda Expressions are introduced in JAVA 8. They are one of the most popular features of Java 8 and they brought functional programming capabilities to JAVA. In this article, I will try to give some examples of lambda expressions which … Read more
Hello, today I am going to tell you to create a new annotation for your development and test project. In this way, you will use your own custom annotations in your JAVA projects. What are annotations? An annotation is a … Read more
How to generate MS word documents automatically? I started to search how to accomplish this task and found the Apache POI library. We can easily work with MS Office documents (word, excel, etc.) with the Apache POI library. For details please … Read more