Is there any API to obtain the path of content which is with this modules in project

Project:
|-WebContent1

| |--JavaSource(path1)
| |--WebSource(path2)
| |--OtherFilePath(path3)
|

-WebContent2

|--JavaSource(path4)
|--WebSource(path5)
|--OtherFilePath(path6)


I want get path1 -


path6

:) sorry my bad English

Is there any API can do this ?

1 comment
Comment actions Permalink

I got it;

ModuleRootManager.getInstance(modules+).getModifiableModel().getContentRoo
tUrls()[j]

:~)




"Dragon" <no_mail@jetbrains.com> wrote in message
news:32808187.1078997993156.JavaMail.itn@is.intellij.net...

Project:
|-WebContent1
| |
| |--JavaSource(path1)
| |--WebSource(path2)
| |--OtherFilePath(path3)
|
|-WebContent2
|
|--JavaSource(path4)
|--WebSource(path5)
|--OtherFilePath(path6)

>
>

I want get path1 ---- path6

>

:) sorry my bad English

>

Is there any API can do this ?

>
>


0

Please sign in to leave a comment.