|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileUploadValidationContext
Passed to the validation plugin as part of the validate method. This is used to pass meta informaiton about the stream to be validated and any additional information WCM may wish to pass to the plugin.
Method Summary | |
---|---|
DocumentType |
getDocumentType()
Return a DocuemntType indicating the type of Component that will hold the File bytes being validated. |
java.lang.String |
getFileName()
File name of the uploaded file, |
long |
getFileSize()
Size of the File/Stream to be validate |
java.lang.String |
getMimeType()
MimeType for the file. |
Method Detail |
---|
java.lang.String getMimeType()
null
.java.lang.String getFileName()
null
long getFileSize()
DocumentType getDocumentType()
May return null
if the document type is not known,
null
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |