|
||||||||||
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 IOContext
public Item getExportRoot()
ExportContext
getExportRoot
in interface ExportContext
public boolean hasStream()
IOContext
hasStream
in interface IOContext
public void informCompleted(boolean success)
IOContext
informCompleted
in interface IOContext
public boolean isCompleted()
IOContext
isCompleted
in interface IOContext
protected void checkCompleted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |