Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: M. Chris
Added: Apr 16, 2019 8:47 AM
Views: 22
Tags: no tags
  1. File initialFile = new File("src/main/resources/sample.txt");
  2. InputStream targetStream = new FileInputStream(initialFile);