Often in Java we use the .class object. For example:
InputStream is = MyClass.class. getResourceAsStream("org/wiztools/logo.gif");
To get the instance from Scala:
val is: InputStream = classOf[MyClass]. getResourceAsStream("org/wiztools/logo.gif")
View: All Posts; All Users | Get Bookmarklets Partner Sites: indiWiz.com | WizTools.org | WizTools.co.in © Subhash Chandran (subwiz [at] gmail [dot] com or Twitter: Ping for reporting problems and asking clarifications)