|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface FileValidation
Validates an uploaded FileParameter
Required Element Summary | |
---|---|
java.lang.String |
parameterName
name of the expected parameter |
Optional Element Summary | |
---|---|
java.lang.String[] |
formats
if provided, only allows the specified file extensions (txt, gif, etc). |
int |
maxFileSize
the maximum file size in bytes, defaults to -1 |
Element Detail |
---|
public abstract java.lang.String parameterName
public abstract java.lang.String[] formats
public abstract int maxFileSize
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |