#Dbay.java

25 messages · Page 1 of 1 (latest)

fair jackal
#

Is there a link to the project (e.g. GitHub)?

#

might make sense to post it here :)

charred doveBOT
fair jackal
#

you might wanna use resource URLs instead

#

typically /path/to/your.jar!/example/App.dbay

#

you get it using getClass().getClassLoader().getResource("example/App.dbay")

fair jackal
#

because resource URLs work inside JARs

fair jackal
#

?

#

you don't work with files, you work with resource URLs

#

getResource("example/Test.component.dbay")

#

because it doesn't exist

#

do you want to list all files in example?

#

getResource("example/")

fair jackal
#

what do you mean with removing the resource name?

fair jackal
#

why?

#

What do you want to do?

#

you can list the files in example using getResourceAsStream("example/") and then creating a new resource URL

#

you could also try that

ivory glade
#

whats dbay?

#

is it a file extension you made up or does it already exist?

fair jackal
#

and it uses dbay files

#

(their custom format)