@Test public void testGetResource() { String resourceId = "node[7].responseTime[172.20.1.5]"; ResourceIdParser parser = new ResourceIdParser(); assertEquals("172.20.1.5", parser.getResource(resourceId)); }
public String getResource(String resourceId) { return getMatch(m_resourcePattern.matcher(resourceId)); }
ResourceIdParser { public String getResource(String resourceId) { return getMatch(m_resourcePattern.matcher(resourceId)); } }
ResourceIdParser { public String getResource(String resourceId) { return getMatch(m_resourcePattern.matcher(resourceId)); } ResourceIdParser(); }
ResourceIdParser { public String getResource(String resourceId) { return getMatch(m_resourcePattern.matcher(resourceId)); } ResourceIdParser(); String getNodeId(String resourceId); String getResource(String resourceId); }
ResourceIdParser { public String getResource(String resourceId) { return getMatch(m_resourcePattern.matcher(resourceId)); } ResourceIdParser(); String getNodeId(String resourceId); String getResource(String resourceId);  }