public LaunchDesc getLaunchDesc() { if (_ld == null) { try { _ld = LaunchDescFactory.buildDescriptor(_dce.getFile()); } catch (Exception e) { Trace.ignoredException(e); } } return _ld; }
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; }
public File getJnlpFile() { return _dce.getFile(); }