This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
Have you checked out Aspose?
 
subject: access data inside Object
 
It's not a secret anymore!