Richfaces UI Components API 4.2.2.Final

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()

Richfaces UI Components API 4.2.2.Final

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