Thread Java-Äquivalent zu FindBin (3 answers)
Opened by ptk at 2005-07-05 13:01

kabel
 2005-07-06 00:18
#10401 #10401
User since
2003-08-04
704 Artikel
BenutzerIn
[default_avatar]
[java]import java.net.URL;

public class Bla {
public static void main( String[] args ) {
URL u= new Bla().getClass().getResource( "/Bla.class" );
System.out.println( u );
}
}[/java]

stripped down from:
http://www.javaworld.com/javaworld/javatips/jw-javatip105.html

hth
-- stefan

View full thread Java-Äquivalent zu FindBin