org.richfaces.request

## Class UploadedFile30

- java.lang.Object
- - org.richfaces.request.BaseUploadedFile
  - - org.richfaces.request.UploadedFile30

- All Implemented Interfaces:
    UploadedFile

      public class UploadedFile30
      extends BaseUploadedFile

  `UploadedFile` that delegates calls to instance of `Part` (from Servlet 3.0 API)
  Author:
    Lukas Fryc

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UploadedFile30(String parameterName, String filename, Part part)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `delete()`
    `String` | `getHeader(String headerName)`
    `Collection<String>` | `getHeaderNames()`
    `Collection<String>` | `getHeaders(String headerName)`
    `InputStream` | `getInputStream()`
    `String` | `getName()`
    `long` | `getSize()`
    `void` | `write(String fileName)`

    - ### Methods inherited from class org.richfaces.request.BaseUploadedFile

      `getContentType, getData, getFileExtension, getParameterName`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UploadedFile30

          public UploadedFile30(String parameterName,
                                String filename,
                                Part part)

  - ### Method Detail

    - #### getInputStream

          public InputStream getInputStream()
                                     throws IOException

      Throws:
        `IOException`

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `UploadedFile`
      Overrides:
        `getName` in class `BaseUploadedFile`

    - #### getSize

          public long getSize()

    - #### delete

          public void delete()
                      throws IOException

      Throws:
        `IOException`

    - #### write

          public void write(String fileName)
                     throws IOException

      Throws:
        `IOException`

    - #### getHeader

          public String getHeader(String headerName)

    - #### getHeaderNames

          public Collection<String> getHeaderNames()

    - #### getHeaders

          public Collection<String> getHeaders(String headerName)

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.