@Test public void testFindRoot() throws Exception { assertTrue(new SwiftFindFeature(session).find(new Path("/", EnumSet.of(Path.Type.directory)))); }
@Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { feature.getMetadata(file); return true; } catch(NotfoundException e) { return false; } }
SwiftFindFeature implements Find { @Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { feature.getMetadata(file); return true; } catch(NotfoundException e) { return false; } } }
SwiftFindFeature implements Find { @Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { feature.getMetadata(file); return true; } catch(NotfoundException e) { return false; } } SwiftFindFeature(final SwiftSession session);  SwiftFindFeature(final Headers feature); }
SwiftFindFeature implements Find { @Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { feature.getMetadata(file); return true; } catch(NotfoundException e) { return false; } } SwiftFindFeature(final SwiftSession session);  SwiftFindFeature(final Headers feature); @Override boolean find(final Path file); }
SwiftFindFeature implements Find { @Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { feature.getMetadata(file); return true; } catch(NotfoundException e) { return false; } } SwiftFindFeature(final SwiftSession session);  SwiftFindFeature(final Headers feature); @Override boolean find(final Path file);  }