|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFileUploadPart
Method Summary | |
---|---|
java.lang.String |
getFileContentType()
Returns the uploading file content-type. |
java.io.InputStream |
getFileInputStream()
Returns the uploading file input stream. |
java.lang.String |
getFileName()
Returns the uploading file name. |
boolean |
isEmptyStream()
Determines whether if the uploading file looks invalid or not. |
Methods inherited from interface org.ow2.opensuit.core.impl.multiparts.IPart |
---|
getInputName |
Method Detail |
---|
java.lang.String getFileName()
java.lang.String getFileContentType()
java.io.InputStream getFileInputStream()
boolean isEmptyStream()
This method checks first if the filename is null
, and then if the stream is empty (zero bytes).
Obviously a non-null filename with a non-null stream size is never considered invalid.
Note: A genuine empty file would then appear invalid. This is a limitation of upload client platforms (web browsers).
true
if the filename is null
or if the file is empty (zero bytes).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |