From 16d8875dca7ef93f6c1aea72cf84bb8bb5251722 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Thu, 18 Nov 2010 10:55:02 -0500 Subject: add javax.jnlp.IntegrationService and javax.jnlp.DownloadService2 2010-11-18 Omair Majid * NEWS: Update with new interfaces * netx/javax/jnlp/DownloadService2.java: New interface. (ResourceSpec): New class. (ResourceSpec.ResourceSpec): New method. (ResourceSpec.getExpirationDate): New method. (ResourceSpec.getLastModified): New method. (ResourceSpec.getSize): New method. (ResourceSpec.getType): New method. (ResourceSpec.getUrl): New method. (ResourceSpec.getVersion): New method. (getCachedResources): New method. (getUpdateAvaiableReosurces): New method. * netx/javax/jnlp/IntegrationService.java: New interface. (hasAssociation): New method. (hasDesktopShortcut): New method. (hasMenuShortcut): New method. (removeAssociation): New method. (removeShortcuts): New method. (requestAssociation): New method. (requestShortcut): New method. --- netx/javax/jnlp/IntegrationService.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 netx/javax/jnlp/IntegrationService.java (limited to 'netx/javax/jnlp/IntegrationService.java') diff --git a/netx/javax/jnlp/IntegrationService.java b/netx/javax/jnlp/IntegrationService.java new file mode 100644 index 0000000..4184f1c --- /dev/null +++ b/netx/javax/jnlp/IntegrationService.java @@ -0,0 +1,19 @@ +package javax.jnlp; + +public interface IntegrationService { + + public boolean hasAssociation(java.lang.String mimeType, java.lang.String[] extensions); + + public boolean hasDesktopShortcut(); + + public boolean hasMenuShortcut(); + + public boolean removeAssociation(java.lang.String mimeType, java.lang.String[] extensions); + + public boolean removeShortcuts(); + + public boolean requestAssociation(java.lang.String mimeType, java.lang.String[] extensions); + + public boolean requestShortcut(boolean onDesktop, boolean inMenu, java.lang.String subMenu); + +} -- cgit v1.2.3