Add commons-io library to your build tool. For maven, as below
Use following code to read file as string.
Below is a simple test case for above example.
Add commons-io library to your build tool. For maven, as below
Use following code to read file as string.
Below is a simple test case for above example.
0 comments:
Post a Comment