Skip to Content
0
Former Member
Jul 04, 2008 at 05:31 AM

Get Subfodler contents

22 Views

Hi All,

I am using the following code to access the contents in a folder:

RID rid = RID.getRID(path);

ICollection currentFolder = null;

currentFolder =(ICollection) ResourceFactory.getInstance().getResource(rid,irCtx);

IResourceList children = null;

children = currentFolder.getChildren();

But this gives only the current folder contents, not its subfolder contents.

How can I get the subfolder contents also?

Thanks and Regards,

Ajay.