|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.services.plugins.OpenOfficeBasePlugin
abstract class OpenOfficeBasePlugin
| Constructor Summary | |
|---|---|
OpenOfficeBasePlugin(String contentType)
|
|
| Method Summary | |
|---|---|
(package private) abstract String |
getDocumentName()
|
abstract String |
getInfo()
may contain some additional Information on the plugin |
abstract int |
getMajorNumber()
should return the major version number |
abstract int |
getMinorNumber()
should return the minor version number |
abstract String |
getName()
should return a Name of the plugin |
HashSet |
getSupportedContentTypes()
returns a list of all supported MCRFileContentTypes. |
(package private) abstract String |
getTextNameSpace()
|
(package private) static InputStream |
getXMLStream(InputStream inp)
|
Reader |
transform(MCRFileContentType ct,
InputStream input)
onverts a given Inputstream to Textstream which should contain a textual representation of the source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
OpenOfficeBasePlugin(String contentType)
| Method Detail |
|---|
public abstract String getName()
TextFilterPlugin
getName in interface TextFilterPluginpublic abstract String getInfo()
TextFilterPlugin
getInfo in interface TextFilterPluginpublic HashSet getSupportedContentTypes()
TextFilterPlugin
getSupportedContentTypes in interface TextFilterPlugin
public Reader transform(MCRFileContentType ct,
InputStream input)
throws FilterPluginTransformException
TextFilterPlugin
transform in interface TextFilterPlugininput - File in foreign format
FilterPluginTransformExceptionpublic abstract int getMajorNumber()
TextFilterPlugin
getMajorNumber in interface TextFilterPluginTextFilterPlugin.getMajorNumber()public abstract int getMinorNumber()
TextFilterPlugin
getMinorNumber in interface TextFilterPluginTextFilterPlugin.getMinorNumber()
static InputStream getXMLStream(InputStream inp)
throws IOException
IOExceptionabstract String getTextNameSpace()
abstract String getDocumentName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||