com.liferay.faces.bridge.model
Interface UploadedFile

All Known Implementing Classes:
UploadedFileErrorImpl, UploadedFileImpl

public interface UploadedFile

Author:
Neil Griffin

Nested Class Summary
static class UploadedFile.Status
           
 
Method Summary
 void delete()
           
 String getAbsolutePath()
           
 Map<String,Object> getAttributes()
           
 byte[] getBytes()
           
 String getCharSet()
           
 String getContentType()
           
 String getHeader(String name)
           
 Collection<String> getHeaderNames()
           
 Collection<String> getHeaders(String name)
           
 String getId()
           
 InputStream getInputStream()
           
 String getMessage()
           
 String getName()
           
 long getSize()
           
 UploadedFile.Status getStatus()
           
 void write(String fileName)
           
 

Method Detail

delete

void delete()
            throws IOException
Throws:
IOException

write

void write(String fileName)
           throws IOException
Throws:
IOException

getAbsolutePath

String getAbsolutePath()

getAttributes

Map<String,Object> getAttributes()

getBytes

byte[] getBytes()
                throws IOException
Throws:
IOException

getCharSet

String getCharSet()

getContentType

String getContentType()

getHeader

String getHeader(String name)

getHeaderNames

Collection<String> getHeaderNames()

getHeaders

Collection<String> getHeaders(String name)

getId

String getId()

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException

getMessage

String getMessage()

getName

String getName()

getSize

long getSize()

getStatus

UploadedFile.Status getStatus()


Copyright © 2014 Liferay, Inc.. All Rights Reserved.