java tutorial

Reading String from File in one line – Java 8

File IO was not easy in Java, you need to write tons of cod eto do small things e.g. reading String from File or writing text into file, but gone are the days when you need to write several lines of code to read file in Java. JDK 7’s new File API combined with Java 8 Stream API makes reading file a one liner job.
Read more How to Read File in One Line in JDK 7 or Java 8.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s