Question

5
Replies
2076
Views
Close popover
Balasubramanian Kumaraguru (Balasubramanian)
TCS
IT Analyst
TCS
US
Balasubramanian Member since 2012 1 post
TCS
Posted: October 3, 2016
Last activity: October 6, 2016
Closed

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 ?

Data Integration Java and Activities
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.