Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

medi.plugin
Class AbstractPreviewer  view AbstractPreviewer download AbstractPreviewer.java

java.lang.Object
  extended bymedi.plugin.MediPlugin
      extended bymedi.plugin.AbstractPreviewer
All Implemented Interfaces:
javatools.util.plugin.GenericPlugin
Direct Known Subclasses:
FakePreviewer, PicturePreviewer

public abstract class AbstractPreviewer
extends MediPlugin

It is an abstract class used as a base for file-type-specific previewers.

Version:
0.3.1

Field Summary
protected  java.lang.String[] extensions
          The managed extensions.
 
Fields inherited from class medi.plugin.MediPlugin
inited, prv
 
Constructor Summary
AbstractPreviewer()
          Creates new AbstractPreviewer
 
Method Summary
 java.lang.String[] getExtensions()
          Returns the managed extensions.
 java.lang.String getPluginType()
           
abstract  java.awt.Component preview(java.lang.String filePath)
          Returns the preview component.
 
Methods inherited from class medi.plugin.MediPlugin
init, isInited, setProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javatools.util.plugin.GenericPlugin
getDisplayName, getLongDescription, getPluginName
 

Field Detail

extensions

protected java.lang.String[] extensions
The managed extensions.

Constructor Detail

AbstractPreviewer

public AbstractPreviewer()
Creates new AbstractPreviewer

Method Detail

getExtensions

public java.lang.String[] getExtensions()
Returns the managed extensions.


preview

public abstract java.awt.Component preview(java.lang.String filePath)
                                    throws javatools.db.DbException
Returns the preview component.


getPluginType

public java.lang.String getPluginType()