apps.mtdesktop.desktop
Class Utility

java.lang.Object
  extended by apps.mtdesktop.desktop.Utility

public class Utility
extends java.lang.Object

The Class Utility.


Constructor Summary
Utility()
           
 
Method Summary
static java.lang.String rtfToHtml(java.io.Reader rtf)
          Rtf to html.
static java.awt.image.BufferedImage toBufferedImage(java.awt.Image src)
          To buffered image.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utility

public Utility()
Method Detail

rtfToHtml

public static java.lang.String rtfToHtml(java.io.Reader rtf)
                                  throws java.io.IOException
Rtf to html.

Parameters:
rtf - the rtf
Returns:
the string
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

toBufferedImage

public static java.awt.image.BufferedImage toBufferedImage(java.awt.Image src)
To buffered image.

Parameters:
src - the src
Returns:
the buffered image