Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


oracle.stellent.wcm.javaee.utils
Class WCMMultipartIterator

java.lang.Object
  extended by oracle.stellent.wcm.common.http.MultipartIterator
      extended by oracle.stellent.wcm.javaee.utils.WCMMultipartIterator

All Implemented Interfaces:
IMultipartIterator

public class WCMMultipartIterator
extends MultipartIterator

Field Summary
protected  ILog log
           

 

Fields inherited from class oracle.stellent.wcm.common.http.MultipartIterator
boundary, bufferSize, contentLength, contentType, diskBufferSize, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_TYPE, inputStream, maxLengthExceeded, maxSize, MESSAGE_CANNOT_RETRIEVE_BOUNDARY, request, tempDir

 

Constructor Summary
WCMMultipartIterator(HttpWebInputStream httpWebInputStream, int bufferSize, int maxSize, java.lang.String tempDirectory)
           

 

Method Summary
protected  java.io.File createLocalFile()
          Creates a file on disk from the current mulitpart element.
protected  java.io.File createLocalFile(java.lang.String fileName)
          Creates a file on disk from the current mulitpart element.

 

Methods inherited from class oracle.stellent.wcm.common.http.MultipartIterator
createFileMultipartElement, createTextMultipartElement, getBufferSize, getElementEncoding, getMaxSize, getNextElement, isMaxLengthExceeded, parseRequest, setBufferSize, setMaxSize

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

log

protected ILog log

Constructor Detail

WCMMultipartIterator

public WCMMultipartIterator(HttpWebInputStream httpWebInputStream,
                            int bufferSize,
                            int maxSize,
                            java.lang.String tempDirectory)
                     throws java.io.IOException
Parameters:
httpWebInputStream -
bufferSize -
maxSize -
tempDirectory -
Throws:
java.io.IOException

Method Detail

createLocalFile

protected java.io.File createLocalFile()
                                throws java.io.IOException
Creates a file on disk from the current mulitpart element.
Overrides:
createLocalFile in class MultipartIterator
Returns:
the temp file
Throws:
java.io.IOException

createLocalFile

protected java.io.File createLocalFile(java.lang.String fileName)
                                throws java.io.IOException
Creates a file on disk from the current mulitpart element. based on a file name
Parameters:
fileName - the file name
Returns:
the temp file
Throws:
java.io.IOException

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.