|
||||||||||
| 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(Item exportRoot,
boolean hasStream,
IOListener ioListener)
|
|
| Method Summary | |
|---|---|
protected void |
checkCompleted()
|
Item |
getExportRoot()
Returns the item to be exported |
IOListener |
getIOListener()
Returns the IOListener. |
boolean |
hasStream()
Return true if the given export context can provide an output stream |
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(Item exportRoot,
boolean hasStream,
IOListener ioListener)
| Method Detail |
|---|
public IOListener getIOListener()
IOContext
getIOListener in interface IOContextpublic Item getExportRoot()
ExportContext
getExportRoot 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 | |||||||||