public interface IOManager
IOManager
interface provides the means to define a list of
IOHandlers
that should be asked to perform an import or export.Modifier and Type | Method and Description |
---|---|
void |
addIOHandler(IOHandler ioHandler)
Adds the specified handler to the list of handlers.
|
boolean |
exportContent(ExportContext context,
boolean isCollection)
Passes the specified information to the IOHandlers present on this manager.
|
boolean |
exportContent(ExportContext context,
DavResource resource)
Passes the specified information to the IOHandlers present on this manager.
|
org.apache.tika.detect.Detector |
getDetector()
Return the configured type detector.
|
IOHandler[] |
getIOHandlers()
Returns all handlers that have been added to this manager.
|
boolean |
importContent(ImportContext context,
boolean isCollection)
Passes the specified context and boolean value to the IOHandlers present
on this manager.
|
boolean |
importContent(ImportContext context,
DavResource resource)
Passes the specified information to the IOHandlers present on this manager.
|
void |
setDetector(org.apache.tika.detect.Detector detector)
Sets the configured type detector.
|
void addIOHandler(IOHandler ioHandler)
ioHandler
- to be addedIOHandler[] getIOHandlers()
org.apache.tika.detect.Detector getDetector()
void setDetector(org.apache.tika.detect.Detector detector)
detector
- content type detector.boolean importContent(ImportContext context, boolean isCollection) throws IOException
context
- isCollection
- IOException
IOHandler.importContent(ImportContext, boolean)
boolean importContent(ImportContext context, DavResource resource) throws IOException
context
- resource
- IOException
IOHandler.importContent(ImportContext, DavResource)
boolean exportContent(ExportContext context, boolean isCollection) throws IOException
context
- isCollection
- IOException
IOHandler.exportContent(ExportContext, boolean)
boolean exportContent(ExportContext context, DavResource resource) throws IOException
context
- resource
- IOException
IOHandler.exportContent(ExportContext, DavResource)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.