public class PartFactory extends Object
| Constructor and Description |
|---|
PartFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Part |
createPart(LifecycleManager manager,
MIMEBodyPartInputStream in,
boolean isSOAPPart,
int thresholdSize,
String attachmentDir,
int messageContentLength)
Creates a part from the input stream.
|
public static Part createPart(LifecycleManager manager, MIMEBodyPartInputStream in, boolean isSOAPPart, int thresholdSize, String attachmentDir, int messageContentLength) throws OMException
in - MIMEBodyPartInputStreamisSOAPPart - thresholdSize - attachmentDir - messageContentLength - OMException - if any exception is encountered while processing.Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.