@Test public void rootPathNoClusterName() throws Exception { final String FILEPATH = "/"; final String URI = BASE_URI + FILEPATH; buildExtractSchemeMocks( PREFIX, URI, BASE_PATH + FILEPATH ); FileNameParser parser = MapRFileNameParser.getInstance(); FileName name = parser.parseUri( null, null, URI ); assertEquals( URI, name.getURI() ); assertEquals( PREFIX, name.getScheme() ); }
public static MapRFileNameParser getInstance() { return INSTANCE; }
MapRFileNameParser extends URLFileNameParser { public static MapRFileNameParser getInstance() { return INSTANCE; } }
MapRFileNameParser extends URLFileNameParser { public static MapRFileNameParser getInstance() { return INSTANCE; } private  MapRFileNameParser(); }
MapRFileNameParser extends URLFileNameParser { public static MapRFileNameParser getInstance() { return INSTANCE; } private  MapRFileNameParser(); static MapRFileNameParser getInstance(); }
MapRFileNameParser extends URLFileNameParser { public static MapRFileNameParser getInstance() { return INSTANCE; } private  MapRFileNameParser(); static MapRFileNameParser getInstance(); static final String EMPTY_HOSTNAME; }