Skip to Content
0
Former Member
Jun 11, 2009 at 03:42 PM

UDF read file in JAR Packet

91 Views

hi,all

I want to use imported JAR packet, in UDF I use the code :

InputStream istr = getClass().getClassLoader().getResourceAsStream("property.txt");

for read file "property.txt" what is in JAR Packet,

Is it correct way ?

Best Regards

-


Hengbing