Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Filters to LocalFolderArtifact

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.

0 votes



One answer

Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Feb 06 '14, 3:16 a.m.

Question was seen: 4,026 times

Last updated: Feb 24 '14, 2:16 a.m.

Confirmation Cancel Confirm