test_class.declarator: BASE_TMS_URL = "http://www.geomajas.org/tms/some_layer"
test_class.modifier: private static final
test_class.original_string: private static final String BASE_TMS_URL = "http://www.geomajas.org/tms/some_layer";
test_class.type: String
test_class.var_name: BASE_TMS_URL
test_class.declarator: configurationService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private TmsConfigurationService configurationService;
test_class.type: TmsConfigurationService
test_class.var_name: configurationService
test_class.file: plugin/layer-tms/tms/src/test/java/org/geomajas/layer/tms/tile/TileMapUrlBuilderTest.java
test_class.identifier: TileMapUrlBuilderTest
test_case.body: @Test
  	public void testParseTileCode() {
  		String relativeUrl = "12/5/7.jpg";
  		TileCode tc = TileMapUrlBuilder.parseTileCode(relativeUrl);
  		
  		Assert.assertNotNull(tc);
  		Assert.assertTrue(tc.getTileLevel() == 12);
  		Assert.assertTrue(tc.getX() == 5);
  		Assert.assertTrue(tc.getY() == 7);
  	}
test_case.class_method_signature: TileMapUrlBuilderTest.testParseTileCode()
test_case.full_signature: @Test public void testParseTileCode()
test_case.identifier: testParseTileCode
test_case.invocations: parseTileCode assertNotNull assertTrue getTileLevel assertTrue getX assertTrue getY
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParseTileCode()
focal_class.declarator: tileMap
focal_class.modifier: private final
focal_class.original_string: private final TileMap tileMap;
focal_class.type: TileMap
focal_class.var_name: tileMap
focal_class.file: plugin/layer-tms/tms/src/main/java/org/geomajas/layer/tms/tile/TileMapUrlBuilder.java
focal_class.identifier: TileMapUrlBuilder
focal_class.interfaces: implements TileUrlBuilder
focal_class.class_method_signature: TileMapUrlBuilder.TileMapUrlBuilder(TileMap tileMap)
focal_class.full_signature: public  TileMapUrlBuilder(TileMap tileMap)
focal_class.identifier: TileMapUrlBuilder
focal_class.modifiers: public
focal_class.parameters: (TileMap tileMap)
focal_class.signature:  TileMapUrlBuilder(TileMap tileMap)
focal_class.class_method_signature: TileMapUrlBuilder.buildUrl(TileCode tileCode, String baseTmsUrl)
focal_class.full_signature: @Override public String buildUrl(TileCode tileCode, String baseTmsUrl)
focal_class.identifier: buildUrl
focal_class.modifiers: @Override public
focal_class.parameters: (TileCode tileCode, String baseTmsUrl)
focal_class.return: String
focal_class.signature: String buildUrl(TileCode tileCode, String baseTmsUrl)
focal_class.class_method_signature: TileMapUrlBuilder.resolveProxyUrl(String relativeUrl, TileMap tileMap, String baseTmsUrl)
focal_class.full_signature: public static String resolveProxyUrl(String relativeUrl, TileMap tileMap, String baseTmsUrl)
focal_class.identifier: resolveProxyUrl
focal_class.modifiers: public static
focal_class.parameters: (String relativeUrl, TileMap tileMap, String baseTmsUrl)
focal_class.return: String
focal_class.signature: String resolveProxyUrl(String relativeUrl, TileMap tileMap, String baseTmsUrl)
focal_class.class_method_signature: TileMapUrlBuilder.buildUrl(TileCode tileCode, TileMap tileMap, String baseTmsUrl)
focal_class.full_signature: private static String buildUrl(TileCode tileCode, TileMap tileMap, String baseTmsUrl)
focal_class.identifier: buildUrl
focal_class.modifiers: private static
focal_class.parameters: (TileCode tileCode, TileMap tileMap, String baseTmsUrl)
focal_class.return: String
focal_class.signature: String buildUrl(TileCode tileCode, TileMap tileMap, String baseTmsUrl)
focal_class.class_method_signature: TileMapUrlBuilder.parseTileCode(String relativeUrl)
focal_class.full_signature: public static TileCode parseTileCode(String relativeUrl)
focal_class.identifier: parseTileCode
focal_class.modifiers: public static
focal_class.parameters: (String relativeUrl)
focal_class.return: TileCode
focal_class.signature: TileCode parseTileCode(String relativeUrl)
focal_method.body: public static TileCode parseTileCode(String relativeUrl) {
  		TileCode tc = new TileCode();
  		StringTokenizer tokenizer = new StringTokenizer(relativeUrl, "/");
  		tc.setTileLevel(Integer.parseInt(tokenizer.nextToken()));
  		tc.setX(Integer.parseInt(tokenizer.nextToken()));
  		tc.setY(Integer.parseInt(tokenizer.nextToken().split("\\.")[0]));
  		return tc;
  	}
focal_method.class_method_signature: TileMapUrlBuilder.parseTileCode(String relativeUrl)
focal_method.full_signature: public static TileCode parseTileCode(String relativeUrl)
focal_method.identifier: parseTileCode
focal_method.invocations: setTileLevel parseInt nextToken setX parseInt nextToken setY parseInt split nextToken
focal_method.modifiers: public static
focal_method.parameters: (String relativeUrl)
focal_method.return: TileCode
focal_method.signature: TileCode parseTileCode(String relativeUrl)