|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.server.io.IOManagerImpl
public class IOManagerImpl
IOManagerImpl represents the most simple IOManager
implementation that provides a default constructor and does define any
IOHandlers.
| Constructor Summary | |
|---|---|
IOManagerImpl()
Create a new IOManager. |
|
| Method Summary | |
|---|---|
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IOManagerImpl()
IOManager.
Note, that this manager does not define any IOHandlers by
default. Use addIOHandler(IOHandler) in order to populate the
internal list of handlers that are called for importContent and
exportContent.
| Method Detail |
|---|
public void addIOHandler(IOHandler ioHandler)
IOManager
addIOHandler in interface IOManagerioHandler - to be addedIOManager.addIOHandler(IOHandler)public IOHandler[] getIOHandlers()
IOManager
getIOHandlers in interface IOManagerIOManager.getIOHandlers()
public boolean importContent(ImportContext context,
boolean isCollection)
throws IOException
IOManager
importContent in interface IOManagerIOExceptionIOManager.importContent(ImportContext, boolean)
public boolean importContent(ImportContext context,
DavResource resource)
throws IOException
IOManager
importContent in interface IOManagerIOExceptionIOManager.importContent(ImportContext, DavResource)
public boolean exportContent(ExportContext context,
boolean isCollection)
throws IOException
IOManager
exportContent in interface IOManagerIOExceptionIOManager.exportContent(ExportContext, boolean)
public boolean exportContent(ExportContext context,
DavResource resource)
throws IOException
IOManager
exportContent in interface IOManagerIOExceptionIOManager.exportContent(ExportContext, DavResource)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||