Package org.silverpeas.web.upload
Interface OutputStreamListener
-
- All Known Implementing Classes:
FileUploadListener
public interface OutputStreamListener
Listener to listen to the status of an OutputStream.- Author:
- ehugonnet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
begin()
When the OutputStream is opened.void
end()
When the OutputStream is opened.void
error(String s)
In case of an exception.void
readBytes(int i)
Called each time some bytes are written.
-
-
-
Method Detail
-
begin
void begin()
When the OutputStream is opened.
-
readBytes
void readBytes(int i)
Called each time some bytes are written.- Parameters:
i
- : the number of bytes written.
-
error
void error(String s)
In case of an exception.- Parameters:
s
- the error message.
-
end
void end()
When the OutputStream is opened.
-
-