private Application application;
/**
- * Creates new application resource instance.
+ * Creates a new application resource instance.
* The resource id is relative to the location of the application class.
*
* @param resourceName the Unique identifier of the resource within the application.
}
/**
- * Creates new application resource instance.
+ * Creates a new application resource instance.
*
* @param associatedClass the class of the which the resource is associated.
* @param resourceName the Unique identifier of the resource within the application.
/**
- * Creates new download component for downloading directly from given URL.
+ * Creates a new download component for downloading directly from given URL.
* @param sourceURL the source URL.
*/
public ExternalResource(URL sourceURL) {
}
/**
- * Creates new download component for downloading directly from given URL.
+ * Creates a new download component for downloading directly from given URL.
* @param sourceURL the source URL.
*/
public ExternalResource(String sourceURL) {
private long cacheTime = DownloadStream.DEFAULT_CACHETIME;
/**
- * Creates new file resource for providing given file for
+ * Creates a new file resource for providing given file for
* client terminals.
*/
public FileResource(File sourceFile, Application application) {
private static final long serialVersionUID = 3256725095530442805L;
/**
- * Constructs new event.
+ * Constructs a new event.
* @param source the paintable needing repaint.
*/
public RepaintRequestEvent(Paintable source) {
private long cacheTime = DEFAULT_CACHETIME;
/**
- * Creates new stream resource for downloading from stream.
+ * Creates a new stream resource for downloading from stream.
* @param streamSource the source Stream.
* @param filename the name of the file.
* @param application the Application object.
public interface URIHandler {
/**
- * Handles the given relative URI. If the URI handling wants to emit
+ * Handles a given relative URI. If the URI handling wants to emit
* a downloadable stream it can return download stream object. If no
* emitting stream is necessary, null should be returned instead.
* @param context the URl.
}
/**
- * Creates error message with level and content mode.
+ * Creates a error message with level and content mode.
* @param message the error message.
* @param contentMode the content Mode.
* @param errorLevel the level of error.