|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UploadFilter
Method Summary | |
---|---|
void |
close()
Callback method which may be used to do some clean up. |
void |
initUploadFilter(InputStream in,
String extension)
Initialize the filter instance. |
int |
read(byte[] b,
int off,
int len)
See InputStream.read(byte[], int, int) . |
Method Detail |
---|
void initUploadFilter(@NotNull InputStream in, @NotNull String extension) throws IOException
in
- input stream containing the dataextension
- file extension - it is not save to guess the file content from this extension
IOException
int read(@NotNull byte[] b, int off, int len) throws IOException
InputStream.read(byte[], int, int)
.
IOException
void close()
UploadFilter.initUploadFilter(java.io.InputStream, String)
.
close
in interface Closeable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |