It's not a secret anymore!*
The moose likes Java in General and the fly likes access data inside Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "access data inside Object" Watch "access data inside Object" New topic
Author

access data inside Object

David Llewellyn
Ranch Hand

Joined: Feb 01, 2005
Posts: 45
When I call a method I've instantiated through reflection, it returns an Object. How can I get at whats stored in the object? It stores a Shape3D set of data.

This is the code I'm having trouble with:


Cheers
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Cast it.


42
 
wood burning stoves
 
subject: access data inside Object
 
Similar Threads
Best XML parser
How to read the blob column from oracle database
Shared Class between different Classes *urgent*
behaviour of finally
Shape 3D setAppearance problem in Java3D