Question
TATA CONSULTANCY SERVICES
US
Last activity: 6 Oct 2016 12:07 EDT
How to include and use FileOutputStream and File packages into a java step in an activity
Am trying to use the
java.io.File & java.io.FileOutputStream in the java step of the activity and even after the declaration of these two am unable to use the codes like
ofile = new File("/apps/etc/testFile.pdf");
fos= new FileOutputStream(ofile);
For both the above commands am getting error : File cannot be resolved to a type & File cannot be resolved to a type
Do I need to need to import any kind of package to support the Files ?