• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Deprecated function - not clarified
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Deprecated function - not clarified
      • From: Colin Clark <email@hidden>
    • Re: Deprecated function - not clarified
      • From: Jean-François Veillette <email@hidden>
  • Prev by Date: Re: Getting the SQL while running from eclipse
  • Next by Date: RE: Getting the SQL while running from eclipse
  • Previous by thread: RE: Java Client with XCode and WO5.2.3
  • Next by thread: Re: Deprecated function - not clarified
  • Index(es):
    • Date
    • Thread