|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.httpclient.methods.multipart.Part
org.apache.commons.httpclient.methods.multipart.PartBase
org.alfresco.repo.transfer.ContentDataPart
public class ContentDataPart
| Field Summary | |
|---|---|
protected static java.lang.String |
FILE_NAME
Attachment's file name |
| Fields inherited from class org.apache.commons.httpclient.methods.multipart.Part |
|---|
BOUNDARY, BOUNDARY_BYTES, CHARSET, CHARSET_BYTES, CONTENT_DISPOSITION, CONTENT_DISPOSITION_BYTES, CONTENT_TRANSFER_ENCODING, CONTENT_TRANSFER_ENCODING_BYTES, CONTENT_TYPE, CONTENT_TYPE_BYTES, CRLF, CRLF_BYTES, EXTRA, EXTRA_BYTES, QUOTE, QUOTE_BYTES |
| Constructor Summary | |
|---|---|
ContentDataPart(ContentService contentService,
java.lang.String partName,
org.alfresco.service.cmr.repository.ContentData data)
ContentDataPart |
|
| Method Summary | |
|---|---|
protected long |
lengthOfData()
|
protected void |
sendData(java.io.OutputStream out)
|
protected void |
sendDispositionHeader(java.io.OutputStream out)
Write the disposition header to the output stream |
| Methods inherited from class org.apache.commons.httpclient.methods.multipart.PartBase |
|---|
getCharSet, getContentType, getName, getTransferEncoding, setCharSet, setContentType, setName, setTransferEncoding |
| Methods inherited from class org.apache.commons.httpclient.methods.multipart.Part |
|---|
getBoundary, getLengthOfParts, getLengthOfParts, getPartBoundary, isRepeatable, length, send, sendContentTypeHeader, sendEnd, sendEndOfHeader, sendParts, sendParts, sendStart, sendTransferEncodingHeader, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String FILE_NAME
| Constructor Detail |
|---|
public ContentDataPart(ContentService contentService,
java.lang.String partName,
org.alfresco.service.cmr.repository.ContentData data)
contentService - partName - data - | Method Detail |
|---|
protected void sendDispositionHeader(java.io.OutputStream out)
throws java.io.IOException
sendDispositionHeader in class org.apache.commons.httpclient.methods.multipart.Partout - The output stream
java.io.IOException - If an IO problem occursPart#sendDispositionHeader(OutputStream)
protected long lengthOfData()
throws java.io.IOException
lengthOfData in class org.apache.commons.httpclient.methods.multipart.Partjava.io.IOException
protected void sendData(java.io.OutputStream out)
throws java.io.IOException
sendData in class org.apache.commons.httpclient.methods.multipart.Partjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||