@Test(expected = AccessDeniedException.class) public void testParseNotFound() throws Exception { new Transmit5BookmarkCollection().parse(new ProtocolFactory(Collections.emptySet()), new Local(System.getProperty("java.io.tmpdir"), "f")); }
@Override protected void parse(final ProtocolFactory protocols, final Local folder) throws AccessDeniedException { for(Local f : folder.list().filter(new NullFilter<Local>() { @Override public boolean accept(Local file) { if(file.isFile()) { return "favoriteMetadata".equals(file.getExtension()); } return false; } })) { this.read(protocols, f); } }
Transmit5BookmarkCollection extends ThirdpartyBookmarkCollection { @Override protected void parse(final ProtocolFactory protocols, final Local folder) throws AccessDeniedException { for(Local f : folder.list().filter(new NullFilter<Local>() { @Override public boolean accept(Local file) { if(file.isFile()) { return "favoriteMetadata".equals(file.getExtension()); } return false; } })) { this.read(protocols, f); } } }
Transmit5BookmarkCollection extends ThirdpartyBookmarkCollection { @Override protected void parse(final ProtocolFactory protocols, final Local folder) throws AccessDeniedException { for(Local f : folder.list().filter(new NullFilter<Local>() { @Override public boolean accept(Local file) { if(file.isFile()) { return "favoriteMetadata".equals(file.getExtension()); } return false; } })) { this.read(protocols, f); } }  }
Transmit5BookmarkCollection extends ThirdpartyBookmarkCollection { @Override protected void parse(final ProtocolFactory protocols, final Local folder) throws AccessDeniedException { for(Local f : folder.list().filter(new NullFilter<Local>() { @Override public boolean accept(Local file) { if(file.isFile()) { return "favoriteMetadata".equals(file.getExtension()); } return false; } })) { this.read(protocols, f); } }  @Override Local getFile(); @Override String getBundleIdentifier(); @Override String getName(); String getConfiguration(); }
Transmit5BookmarkCollection extends ThirdpartyBookmarkCollection { @Override protected void parse(final ProtocolFactory protocols, final Local folder) throws AccessDeniedException { for(Local f : folder.list().filter(new NullFilter<Local>() { @Override public boolean accept(Local file) { if(file.isFile()) { return "favoriteMetadata".equals(file.getExtension()); } return false; } })) { this.read(protocols, f); } }  @Override Local getFile(); @Override String getBundleIdentifier(); @Override String getName(); String getConfiguration();  }