StroomFileNameUtil { public static String getIdPath(final long id) { final String idString = idToString(id); final String path = idToPathId(idString) + PATH_SEPARATOR + idString; return clean(path); } private  StroomFileNameUtil(); static String getIdPath(final long id);  }
@Test public void testPad() { Assert.assertEquals("001", StroomFileNameUtil.getIdPath(1)); Assert.assertEquals("999", StroomFileNameUtil.getIdPath(999)); Assert.assertEquals("001/001000", StroomFileNameUtil.getIdPath(1000)); Assert.assertEquals("001/001999", StroomFileNameUtil.getIdPath(1999)); Assert.assertEquals("009/111/009111999", StroomFileNameUtil.getIdPath(9111999)); }