@Test public void testBundleIcon() { BundleIcon bundleIcon = new BundleIcon(ICON, MIME); assertArrayEquals(ICON, bundleIcon.getIcon()); assertEquals(MIME, bundleIcon.getMime()); assertEquals(bundleIcon.getContentLength(), ICON.length); }
public BundleIcon(byte[] icon, String mime) { this.icon = Arrays.copyOf(icon, icon.length); this.mime = mime; }
BundleIcon { public BundleIcon(byte[] icon, String mime) { this.icon = Arrays.copyOf(icon, icon.length); this.mime = mime; } }
BundleIcon { public BundleIcon(byte[] icon, String mime) { this.icon = Arrays.copyOf(icon, icon.length); this.mime = mime; } BundleIcon(byte[] icon, String mime); }
BundleIcon { public BundleIcon(byte[] icon, String mime) { this.icon = Arrays.copyOf(icon, icon.length); this.mime = mime; } BundleIcon(byte[] icon, String mime); byte[] getIcon(); String getMime(); int getContentLength(); }
BundleIcon { public BundleIcon(byte[] icon, String mime) { this.icon = Arrays.copyOf(icon, icon.length); this.mime = mime; } BundleIcon(byte[] icon, String mime); byte[] getIcon(); String getMime(); int getContentLength(); static final String[] ICON_LOCATIONS; }