Deprecated function - not clarified
Deprecated function - not clarified
- Subject: Deprecated function - not clarified
- From: Erwin <email@hidden>
- Date: Tue, 9 Nov 2004 17:42:56 +0100
Resource Manager method 'pathForResourceNamed' is indcated as deprecated in all documentation
but is still used a lot in WO (read an article in Stepwise - 2004 about Aspect object)
if we should not write the following statement :
String resourcePath = (String)rm.pathForResourceNamed( filename, framework, null );
how could it be replaced using 'inputStreamForResourceNamed' to get a resourcePath ?
InputStream resourceStream = (InputStream) rm.inputStreamForResourcedNamed( filename, framework, null );
how cn I get a File object to get its path ?
thanks
Erwin _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden