Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa.filter
Class AbstractFilter

java.lang.Object
  extended by ag.ion.noa.filter.AbstractFilter
All Implemented Interfaces:
IFilter
Direct Known Subclasses:
BMPFilter, DataInterchangeFilter, DBaseFilter, FlashFilter, GIFFilter, HTMLFilter, JPEGFilter, MathMLFilter, MSOffice2003XMLFilter, MSOffice60Filter, MSOffice60TemplateFilter, MSOffice95Filter, MSOffice95TemplateFilter, MSOffice97Filter, MSOffice97Template, ODPresentationToDrawFilter, ODTFilter, OOPresentationToDrawFilter, OpenDocumentFilter, OpenOfficeFilter, OpenOfficeTemplateFilter, OpenTemplateFilter, PDBFilter, PDFFilter, PNGFilter, PocketOfficeFilter, PSWFilter, RTFFilter, SDW30Filter, SDW40Filter, SDW50Filter, SO30PresentationToDraw, SO50PresentationToDrawFilter, StarOffice30Filter, StarOffice30TemplateFilter, StarOffice40Filter, StarOffice40TemplateFilter, StarOffice50Filter, StarOffice50TemplateFilter, SylkFilter, TextEncFilter, TextFilter, TIFFFilter, XHTMLFilter, XMLDocBookFilter, XMLMSWORD2003Filter

public abstract class AbstractFilter
extends java.lang.Object
implements IFilter

Abstract base filter.


Field Summary
 
Fields inherited from interface ag.ion.bion.officelayer.filter.IFilter
FILTERS
 
Constructor Summary
AbstractFilter()
           
 
Method Summary
 java.lang.String getFileExtension(IDocument document)
          Returns file extension of the filter.
 java.lang.String getName(IDocument document)
          Returns name of the filter.
 boolean isExternalFilter()
          Returns information whether the filter constructs a document which can not be interpreted again.
 boolean isSupported(IDocument document)
          Returns information whether the submitted document is supported by the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ag.ion.bion.officelayer.filter.IFilter
getFileExtension, getFilterDefinition
 

Constructor Detail

AbstractFilter

public AbstractFilter()
Method Detail

isSupported

public boolean isSupported(IDocument document)
Returns information whether the submitted document is supported by the filter.

Specified by:
isSupported in interface IFilter
Parameters:
document - document to be used
Returns:
information whether the submitted document is supported by the filter

isExternalFilter

public boolean isExternalFilter()
Returns information whether the filter constructs a document which can not be interpreted again.

Specified by:
isExternalFilter in interface IFilter
Returns:
information whether the filter constructs a document which can not be interpreted again

getFileExtension

public java.lang.String getFileExtension(IDocument document)
Returns file extension of the filter. Returns null if the document is not supported by the filter.

Specified by:
getFileExtension in interface IFilter
Parameters:
document - document to be used
Returns:
file extension of the filter

getName

public java.lang.String getName(IDocument document)
Returns name of the filter. Returns null if the submitted document is not supported by the filter.

Specified by:
getName in interface IFilter
Parameters:
document - document to be used
Returns:
name of the filter

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013