my dog learned polymorphism*
The moose likes Beginning Java and the fly likes class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "class" Watch "class" New topic
Author

class

SAIMA RAFI
Greenhorn

Joined: Jul 06, 2001
Posts: 6

hello to everry one
this is conversion of text from 1 format to anohter for this i want to create two classes to define two different types of object (files). Each object has HEADER which should contains following fields
Size
Title
Author
Creation date
Text
Each class will have a style list that contains the list of styles. This list is compared at the time of conversion and if equal styles are detected then converted else warning is displayed.

Each class will have the function to print the text in its own specific style
Each class should have FileConverter method which convert one type of object to another(the object to be converted is passed as an argument).
either give me some key points that can help me to do so
or some reference from where i can get the explanation of syntax used in these types of problem.
its urgent if any body concern i will b greatful.
saima
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: class
 
Similar Threads
Override issue
my notes on JLS for any1 who needs them !!
AutoBoxing Doubt
Overloading across classes
reference to method1 is ambiguous ..... java can't decide whic one to call.