Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Richfaces UI Components API 4.1.0.20111014-M3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.model
Interface UploadedFile

    public interface UploadedFile

Author:
  Konstantin Mishin

Method Summary
`void` | `delete()`
`String` | `getContentType()`
`byte[]` | `getData()`
`String` | `getHeader(String headerName)`
`Collection<String>` | `getHeaderNames()`
`Collection<String>` | `getHeaders(String headerName)`
`InputStream` | `getInputStream()`
`String` | `getName()`
`String` | `getParameterName()`
`long` | `getSize()`
`void` | `write(String fileName)`

Method Detail

### getContentType

    String getContentType()

### getData

    byte[] getData()
                   throws FileUploadException

  Throws:
    `FileUploadException`

### getInputStream

    InputStream getInputStream()
                               throws IOException

  Throws:
    `IOException`

### getName

    String getName()

### getSize

    long getSize()

### delete

    void delete()
                throws IOException

  Throws:
    `IOException`

### write

    void write(String fileName)
               throws IOException

  Throws:
    `IOException`

### getHeader

    String getHeader(String headerName)

### getHeaderNames

    Collection<String> getHeaderNames()

### getHeaders

    Collection<String> getHeaders(String headerName)

### getParameterName

    String getParameterName()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Richfaces UI Components API 4.1.0.20111014-M3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.