|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.protocol.ice.protocol.InputOutputPipe
public class InputOutputPipe
InputOutputPipe is a helper class to convert an OutputStream to an InputStream. The pipe needs an IChunkedOutput writing its data in chunks to the OutputStream for correct operation.
Copyright 2004 SAP AG
IChunkedOutput| Constructor Summary | |
|---|---|
InputOutputPipe(Object workUnit,
boolean zip)
Create a new InputOutputPipe. |
|
| Method Summary | |
|---|---|
IAbortCondition |
getAbortCondition()
Get the abort condition for the ICE item iterators. |
InputStream |
getInputStream(IChunkedOutput chunkedOutput)
Get the InputStream of the pipe. |
OutputStream |
getOutputStream()
Get the OutputStream of the pipe. |
void |
setAbortCondition(long maxBytes,
Date expiration)
Set the maximum number of bytes written to the pipe as well as an expiration date/time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputOutputPipe(Object workUnit,
boolean zip)
zip - true if the output should be compressed| Method Detail |
|---|
public void setAbortCondition(long maxBytes,
Date expiration)
maxBytes - The maximum number of bytes written to the pipeexpiration - The expiration date/timepublic IAbortCondition getAbortCondition()
public InputStream getInputStream(IChunkedOutput chunkedOutput)
chunkedOutput - The IChunkedOutput which should be used to trigger the output of a chunk of data
public OutputStream getOutputStream()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||