MosaicProductTileHandler extends MosaicTileHandler { static String getTileProductName(String outputNameFormat, int tileX, int tileY) { return String.format(outputNameFormat, tileY, tileX); } MosaicProductTileHandler(TaskInputOutputContext<?, ?, ?, ?> context, MosaicGrid mosaicGrid, String outputNameFormat, MosaicAlgorithm algorithm, String format, String compression); static MosaicTileHandler createHandler(TaskInputOutputContext<?, ?, ?, ?> context);  }
@Test public void testGetTileProductName() throws Exception { assertEquals("foo-v00h00", MosaicProductTileHandler.getTileProductName("foo-v%02dh%02d", 0, 0)); assertEquals("foo-v45h13", MosaicProductTileHandler.getTileProductName("foo-v%02dh%02d", 13, 45)); }