Yes, I got it working. I was interested in creating an InputSource object. I did it thus :
code
public InputSource getInputSource(String DDname) throws IOException {
ZFile zf = new ZFile(DDname, "r");
int dsorg = zf.getDsorg() ;
String fileName = "";
if (dsorg==zf.DSORG_HFS) {
fileName = zf.getActualFilename();
} else {
fileName = "//'" + zf.getActualFilename() + "'";
}
InputStream istr = FileFactory.newInputStream(fileName);
InputSource isrc = new InputSource(istr);
return isrc;
}
[/code]
Thanks again, Kirk !
Regards,
Nags