|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MCRFileContentType | |
|---|---|
| org.mycore.datamodel.ifs | |
| org.mycore.services.plugins | |
| Uses of MCRFileContentType in org.mycore.datamodel.ifs |
|---|
| Fields in org.mycore.datamodel.ifs declared as MCRFileContentType | |
|---|---|
protected static MCRFileContentType |
MCRFileContentTypeFactory.defaultType
The default file content type if unknown |
| Methods in org.mycore.datamodel.ifs that return MCRFileContentType | |
|---|---|
MCRFileContentType |
MCRSimpleFCTDetector.detectType(String filename,
byte[] header)
|
static MCRFileContentType |
MCRFileContentTypeFactory.detectType(String filename,
byte[] header)
Detects the file content type from filename and file content header. |
MCRFileContentType |
MCRFileContentTypeDetector.detectType(String filename,
byte[] header)
Detects the file content type from filename and/or file header. |
MCRFileContentType |
MCROldFile.getContentType()
Deprecated. This method will throw an UnsupportedOperationException, it is not implemented for MCROldFile class. |
MCRFileContentType |
MCRFileReader.getContentType()
Returns the content type of this file |
MCRFileContentType |
MCRFile.getContentType()
Gets the content type of this file |
static MCRFileContentType |
MCRFileContentTypeFactory.getDefaultType()
Returns the default file content type to be used if content type is unknown |
static MCRFileContentType |
MCRFileContentTypeFactory.getType(String ID)
Returns the file content type with the given ID |
| Methods in org.mycore.datamodel.ifs with parameters of type MCRFileContentType | |
|---|---|
void |
MCRSimpleFCTDetector.addRule(MCRFileContentType type,
Element xRules)
Adds a detection rule from the file content type definition XML file. |
void |
MCRFileContentTypeDetector.addRule(MCRFileContentType type,
Element rules)
Adds a detection rule from the file content type definition XML file. |
String |
MCRSimpleContentStoreSelector.selectStore(MCRFileContentType type)
|
| Uses of MCRFileContentType in org.mycore.services.plugins |
|---|
| Methods in org.mycore.services.plugins with parameters of type MCRFileContentType | |
|---|---|
TextFilterPlugin |
TextFilterPluginManager.getPlugin(MCRFileContentType ct)
returns TextFilterPlugin to corresponding MIME type |
boolean |
TextFilterPluginManager.isSupported(MCRFileContentType ct)
checks whether content type is supported |
Reader |
XmlHtmlPlugin.transform(MCRFileContentType ct,
InputStream input)
|
Reader |
PostScriptPlugin.transform(MCRFileContentType ct,
InputStream input)
|
Reader |
PlainTextPlugin.transform(MCRFileContentType ct,
InputStream input)
|
Reader |
PdfPlugin.transform(MCRFileContentType ct,
InputStream input)
|
Reader |
OpenOfficeBasePlugin.transform(MCRFileContentType ct,
InputStream input)
|
Reader |
MSWordPlugin.transform(MCRFileContentType ct,
InputStream input)
|
Reader |
TextFilterPlugin.transform(MCRFileContentType ct,
InputStream input)
onverts a given Inputstream to Textstream which should contain a textual representation of the source. |
Reader |
TextFilterPluginManager.transform(MCRFileContentType ct,
InputStream input)
returns a Reader for the characters of the InputStream |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||