Convert Object To XML
Here we are discussing the conversion of an object into xml file with the help of an example. We are taking ten strings from console. Store these strings into an array of objects and pass these string objects into xml file as child node values.
Convert Text To XML
Here we are discussing the conversion of a text file into xml file by giving an example. This example creates an xml file with its root node and child node. Then pass values into the child node. These values are in text format which is taken as input from
Convert Text To PDF
Here we are discussing the convertion of a text file into a pdf file by using an example. In this example we take a string from console, pass this string into an object of paragraph class. Pass this paragraph object into the add() method of the document
Java Date Conversion
In java date conversion, two packages are used .They are java.util.* and java.text.*. The java.util.* package provides three subclasses that are named as java.util.Date, java.util.Time and java.util.Timestamp class.
Applet versus Application
Applets as previously described, are the small programs while applications are larger programs. Applets don't have the main method while in an application execution starts with the main method. Applets can run in our browser's window or in an appletviewer