public class Factory
extends java.lang.Object
public static Viewer getViewer(java.lang.String sFileName, java.lang.Object o)
sFileName
- o
- where to read this file from. This object can be either String (a path to the file on the disk) or an InputStream with the contents.