• 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
java Bridge and non new initializer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java Bridge and non new initializer


  • Subject: java Bridge and non new initializer
  • From: Lance Pysher <email@hidden>
  • Date: Mon, 4 Aug 2003 20:33:08 -0600

I have found a java library I would like to access form cocoa. Unfortunately all the the concrete classes are private and can only be access through the abstract classes, which have an unusual way of creating new instances. Instead of foo myFoo = new foo() it is foo myFoo = foo.getInstance() which then accesses the concrete classes normal constructor. Is there a way to bypass this constrain in cocoa or I need to create a custom version of the library. I have tried to write a java class to use the getInstance method, but that still does not work. Any suggestions?

Lance Pysher, M.D.
email@hidden
http://irad.sourceforge.net/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: java Bridge and non new initializer
      • From: Andreas Monitzer <email@hidden>
  • Prev by Date: App Delegate & Notifications
  • Next by Date: Re: BOM and UTF-8 (was Re: Question about line breaks and file types)
  • Previous by thread: App Delegate & Notifications
  • Next by thread: Re: java Bridge and non new initializer
  • Index(es):
    • Date
    • Thread