It's all about the answers!

Ask a question

Filters to LocalFolderArtifact


Mekala Subramanian (111) | asked Feb 06 '14, 3:16 a.m.

Hi,

 I want to add folders as artifacts from harddisk to RAM using RAM API. I'm using LocalFolderArtifact

                File folder = new File("D;\\mydocs\\lib");
                LocalFolderArtifact folderArtifact = new LocalFolderArtifact(folder);
                root.addArtifact(folderArtifact);

But i want to exclude some of files in folders, i cannot add all files inside folder. for example to exclude file with name sample.txt and file of type xls like that.how can i achieve that? Is there any way to add filters for LocalFolderArtifact. Help me please.

One answer



permanent link
Lin Lu (3063) | answered Feb 24 '14, 2:16 a.m.
JAZZ DEVELOPER
Hi Mekala,

I am afraid there is not such feature your mentioned. One may need to implement their own file name filter at this moment. You are welcome to open a wi if you would like to.

Thanks.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.