cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use FILE IO in File Adapter ? If not, Why?

Former Member
0 Kudos

Hello,

I want to clarrify one important issue of FIle Adapter.

Can we use FILE I/O in case of File Adapter to process the files.

PLease explain me with a reason and a sample example.

Thanks,

Soorya.

Accepted Solutions (0)

Answers (2)

Answers (2)

GabrielSagaya
Active Contributor
0 Kudos

I think you can handle File IO in Java Mapping by using

public void execute(InputStream in, OutputStream out)

{

// Here You can desired the output from source XML structure by using SAX/DOM parser to Target XML file.

}

Former Member
0 Kudos

Hi,

Can u pls explain in detail bout ur requirement.

Chirag