@Test public void testFindDirectory() throws Exception { assertTrue(new SFTPFindFeature(session).find(new SFTPHomeDirectoryService(session).find())); }
@Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { new SFTPAttributesFinderFeature(session).find(file); return true; } catch(NotfoundException e) { return false; } }
SFTPFindFeature implements Find { @Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { new SFTPAttributesFinderFeature(session).find(file); return true; } catch(NotfoundException e) { return false; } } }
SFTPFindFeature implements Find { @Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { new SFTPAttributesFinderFeature(session).find(file); return true; } catch(NotfoundException e) { return false; } } SFTPFindFeature(final SFTPSession session); }
SFTPFindFeature implements Find { @Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { new SFTPAttributesFinderFeature(session).find(file); return true; } catch(NotfoundException e) { return false; } } SFTPFindFeature(final SFTPSession session); @Override boolean find(final Path file); }
SFTPFindFeature implements Find { @Override public boolean find(final Path file) throws BackgroundException { if(file.isRoot()) { return true; } try { new SFTPAttributesFinderFeature(session).find(file); return true; } catch(NotfoundException e) { return false; } } SFTPFindFeature(final SFTPSession session); @Override boolean find(final Path file);  }