|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.server.io.AbstractExportContext
public abstract class AbstractExportContext
AbstractExportContext covers methods common to most ExportContext
implementations.
| Field Summary | |
|---|---|
protected boolean |
completed
|
| Constructor Summary | |
|---|---|
AbstractExportContext(javax.jcr.Item exportRoot,
boolean hasStream,
IOListener ioListener)
|
|
AbstractExportContext(javax.jcr.Item exportRoot,
boolean hasStream,
IOListener ioListener,
MimeResolver mimeResolver)
|
|
| Method Summary | |
|---|---|
javax.jcr.Item |
getExportRoot()
Returns the item to be exported |
IOListener |
getIOListener()
Returns the IOListener. |
MimeResolver |
getMimeResolver()
Return the MimeResolver defined for this export context. |
boolean |
hasStream()
Return true if the given export context can provide an output stream |
protected void |
checkCompleted()
|
void |
informCompleted(boolean success)
Informs this context that it will not be used for futher exports any more. |
boolean |
isCompleted()
Returns true if this context already has been completed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jackrabbit.server.io.ExportContext |
|---|
getOutputStream, setContentLanguage, setContentLength, setContentType, setCreationTime, setETag, setModificationTime, setProperty |
| Field Detail |
|---|
protected boolean completed
| Constructor Detail |
|---|
public AbstractExportContext(javax.jcr.Item exportRoot,
boolean hasStream,
IOListener ioListener)
public AbstractExportContext(javax.jcr.Item exportRoot,
boolean hasStream,
IOListener ioListener,
MimeResolver mimeResolver)
| Method Detail |
|---|
public IOListener getIOListener()
IOContext
getIOListener in interface IOContextpublic javax.jcr.Item getExportRoot()
ExportContext
getExportRoot in interface ExportContextpublic MimeResolver getMimeResolver()
ExportContextMimeResolver defined for this export context.
getMimeResolver in interface ExportContextpublic boolean hasStream()
IOContext
hasStream in interface IOContextpublic void informCompleted(boolean success)
IOContext
informCompleted in interface IOContextpublic boolean isCompleted()
IOContext
isCompleted in interface IOContextprotected void checkCompleted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||