File viewer

Hi:

Is there an addon (or Java API) to preview files? I currently have no problems displaying PDF files, but I would like to extend that to multiple other kind of files, like .dwg files for example

Any idea how?

thanks!!!