@Test public void getZipFileName() { final String expected = "myassets"; ctx.currentResource("/content/download"); final Download download = ctx.request().adaptTo(Download.class); assertEquals(expected, download.getZipFileName()); }
public String getZipFileName() { return StringUtils.removeEndIgnoreCase(zipFileName, ".zip"); }
DownloadImpl implements Download, ComponentExporter { public String getZipFileName() { return StringUtils.removeEndIgnoreCase(zipFileName, ".zip"); } }
DownloadImpl implements Download, ComponentExporter { public String getZipFileName() { return StringUtils.removeEndIgnoreCase(zipFileName, ".zip"); }  }
DownloadImpl implements Download, ComponentExporter { public String getZipFileName() { return StringUtils.removeEndIgnoreCase(zipFileName, ".zip"); }  @Override List<AssetRenditionsGroup> getAssetRenditionsGroups(); Collection<AssetModel> getAssets(); String getZipFileName(); @Override long getMaxContentSize(); @Override long getDownloadContentSize(); @Override String getMaxContentSizeLabel(); @Override String getDownloadContentSizeLabel(); @Nonnull @Override String getExportedType(); }
DownloadImpl implements Download, ComponentExporter { public String getZipFileName() { return StringUtils.removeEndIgnoreCase(zipFileName, ".zip"); }  @Override List<AssetRenditionsGroup> getAssetRenditionsGroups(); Collection<AssetModel> getAssets(); String getZipFileName(); @Override long getMaxContentSize(); @Override long getDownloadContentSize(); @Override String getMaxContentSizeLabel(); @Override String getDownloadContentSizeLabel(); @Nonnull @Override String getExportedType(); static final String PN_ASSET_RENDITIONS_GROUP_TITLE; static final String NN_ASSET_RENDITIONS; static final String NN_ITEMS; }