Get Text Content Of Text File In A Jar File Using Java

Here is a helper method to get the text contents of a file. E.g. text file inside a jar file. Note that this method is good for only text based files and uses the Thread class to retrieve the filename’s content via a stream.

Related Posts Plugin for WordPress, Blogger...

2 comments

Leave a Reply

Your email address will not be published. Required fields are marked *