Esempio n. 1
0
 public LaunchDesc getLaunchDesc() {
   if (_ld == null) {
     try {
       _ld = LaunchDescFactory.buildDescriptor(_dce.getFile());
     } catch (Exception e) {
       Trace.ignoredException(e);
     }
   }
   return _ld;
 }
Esempio n. 2
0
 public File getIconFile() {
   try {
     IconDesc id =
         getLaunchDesc()
             .getInformation()
             .getIconLocation(InformationDesc.ICON_SIZE_MEDIUM, IconDesc.ICON_KIND_DEFAULT);
     DiskCacheEntry iconEntry =
         DownloadProtocol.getCachedVersion(
             id.getLocation(), id.getVersion(), DownloadProtocol.IMAGE_DOWNLOAD);
     if (iconEntry != null) {
       return iconEntry.getFile();
     }
   } catch (Exception e) {
   }
   return null;
 }
Esempio n. 3
0
 public File getJnlpFile() {
   return _dce.getFile();
 }