summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-12-13 10:05:22 +0000
committerArtur Signell <artur.signell@itmill.com>2010-12-13 10:05:22 +0000
commitbe074265218403a15e8f88c6000e5a00ce9f72ad (patch)
tree174d125285c4a42227b8fae83fe0c4bb90114adc
parent08cda3f0eae5ca714799a3540bdc5d94f19d1501 (diff)
downloadvaadin-framework-be074265218403a15e8f88c6000e5a00ce9f72ad.tar.gz
vaadin-framework-be074265218403a15e8f88c6000e5a00ce9f72ad.zip
Explicitly marked interface methods public to make code easier to read
svn changeset:16463/svn branch:6.5
-rw-r--r--src/com/vaadin/terminal/StreamVariable.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/com/vaadin/terminal/StreamVariable.java b/src/com/vaadin/terminal/StreamVariable.java
index 92dc057fd9..6c49a3f385 100644
--- a/src/com/vaadin/terminal/StreamVariable.java
+++ b/src/com/vaadin/terminal/StreamVariable.java
@@ -52,19 +52,19 @@ public interface StreamVariable extends Serializable {
* the upload of the progress of streaming.
* @see #onProgress(StreamingProgressEvent)
*/
- boolean listenProgress();
+ public boolean listenProgress();
/**
* This method is called by the terminal if {@link #listenProgress()}
* returns true when the streaming starts.
*/
- void onProgress(StreamingProgressEvent event);
+ public void onProgress(StreamingProgressEvent event);
- void streamingStarted(StreamingStartEvent event);
+ public void streamingStarted(StreamingStartEvent event);
- void streamingFinished(StreamingEndEvent event);
+ public void streamingFinished(StreamingEndEvent event);
- void streamingFailed(StreamingErrorEvent event);
+ public void streamingFailed(StreamingErrorEvent event);
/*
* Not synchronized to avoid stalls (caused by UIDL requests) while
@@ -82,29 +82,29 @@ public interface StreamVariable extends Serializable {
*
* @return true if the streaming should be interrupted as soon as possible.
*/
- boolean isInterrupted();
+ public boolean isInterrupted();
- interface StreamingEvent extends Serializable {
+ public interface StreamingEvent extends Serializable {
/**
* @return the file name of the streamed file if known
*/
- String getFileName();
+ public String getFileName();
/**
* @return the mime type of the streamed file if known
*/
- String getMimeType();
+ public String getMimeType();
/**
* @return the length of the stream (in bytes) if known, else -1
*/
- long getContentLength();
+ public long getContentLength();
/**
* @return then number of bytes streamed to StreamVariable
*/
- long getBytesReceived();
+ public long getBytesReceived();
}
/**
@@ -147,7 +147,7 @@ public interface StreamVariable extends Serializable {
/**
* @return the exception that caused the receiving not to finish cleanly
*/
- Exception getException();
+ public Exception getException();
}