@Test public void testStxHandling() throws IOException { final Product product2 = ProductSubsetBuilder.createProductSubset(product, null, "subset", ""); assertEquals(false, product2.getBand(INDEX_CODED_BAND_NAME).isStxSet()); product.getBand(INDEX_CODED_BAND_NAME).getStx(true, ProgressMonitor.NULL); final Product product3 = ProductSubsetBuilder.createProductSubset(product, null, "subset", ""); assertEquals(true, product3.getBand(INDEX_CODED_BAND_NAME).isStxSet()); }
public static Product createProductSubset(Product sourceProduct, ProductSubsetDef subsetDef, String name, String desc) throws IOException { return createProductSubset(sourceProduct, false, subsetDef, name, desc); }
ProductSubsetBuilder extends AbstractProductBuilder { public static Product createProductSubset(Product sourceProduct, ProductSubsetDef subsetDef, String name, String desc) throws IOException { return createProductSubset(sourceProduct, false, subsetDef, name, desc); } }
ProductSubsetBuilder extends AbstractProductBuilder { public static Product createProductSubset(Product sourceProduct, ProductSubsetDef subsetDef, String name, String desc) throws IOException { return createProductSubset(sourceProduct, false, subsetDef, name, desc); } ProductSubsetBuilder();  ProductSubsetBuilder(boolean sourceProductOwner); }
ProductSubsetBuilder extends AbstractProductBuilder { public static Product createProductSubset(Product sourceProduct, ProductSubsetDef subsetDef, String name, String desc) throws IOException { return createProductSubset(sourceProduct, false, subsetDef, name, desc); } ProductSubsetBuilder();  ProductSubsetBuilder(boolean sourceProductOwner); static Product createProductSubset(Product sourceProduct, ProductSubsetDef subsetDef, String name,
                                              String desc); static Product createProductSubset(Product sourceProduct, boolean sourceProductOwner,
                                              ProductSubsetDef subsetDef, String name, String desc); }
ProductSubsetBuilder extends AbstractProductBuilder { public static Product createProductSubset(Product sourceProduct, ProductSubsetDef subsetDef, String name, String desc) throws IOException { return createProductSubset(sourceProduct, false, subsetDef, name, desc); } ProductSubsetBuilder();  ProductSubsetBuilder(boolean sourceProductOwner); static Product createProductSubset(Product sourceProduct, ProductSubsetDef subsetDef, String name,
                                              String desc); static Product createProductSubset(Product sourceProduct, boolean sourceProductOwner,
                                              ProductSubsetDef subsetDef, String name, String desc);  }