File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Data class Interface help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Data class Interface help" Watch "Data class Interface help" New topic
Author

Data class Interface help

Andre Mermegas
Ranch Hand

Joined: Jun 20, 2001
Posts: 158
ok, id like to make a common Interface both
Data and RemoteData class can implement which
exposes all the public methods.As it stands I'm
having a problem with them both using one inteface
which defines all the public methods of Data.
Here is the interface for Data class

here is the interface for RemoteData

What would be the way to make one common interface?
I thought perhaps that removing all the throws from
each method would work, but it causes compile errors.
I may be kinda confused..
reguards,
Andre
[This message has been edited by Andre Mermegas (edited December 13, 2001).]


--=( Andre Mermegas )=--
Andre Mermegas
Ranch Hand

Joined: Jun 20, 2001
Posts: 158
thanks guys, found what i was looking for in search!!
=) this place is awesome. http://www.javaranch.com/ubb/Forum25/HTML/000832.html

------------------
Andre Mermegas
Sun Certifed Java Programmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data class Interface help