本文整理了Java中ch.cyberduck.core.Local.withBookmark()
方法的一些代码示例,展示了Local.withBookmark()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Local.withBookmark()
方法的具体详情如下:
包路径:ch.cyberduck.core.Local
类名称:Local
方法名:withBookmark
暂无
代码示例来源:origin: iterate-ch/cyberduck
@Override
public Local find(final Host bookmark) {
if(null != bookmark.getDownloadFolder()) {
if(bookmark.getDownloadFolder().exists()) {
return bookmark.getDownloadFolder();
}
}
final Local directory = LocalFactory.get(preferences.getProperty("queue.download.folder")).withBookmark(
preferences.getProperty("queue.download.folder.bookmark"));
if(log.isInfoEnabled()) {
log.info(String.format("Suggest default download folder %s for bookmark %s", directory, bookmark));
}
return directory;
}
代码示例来源:origin: iterate-ch/cyberduck
public TerminalHostKeyVerifier(final TerminalPromptReader prompt) {
super(LocalFactory.get(PreferencesFactory.get().getProperty("ssh.knownhosts")).withBookmark(
PreferencesFactory.get().getProperty("ssh.knownhosts.bookmark")
));
this.prompt = prompt;
}
代码示例来源:origin: iterate-ch/cyberduck
public PromptHostKeyCallback(final WindowController c) {
this(c, LocalFactory.get(PreferencesFactory.get().getProperty("ssh.knownhosts")).withBookmark(
PreferencesFactory.get().getProperty("ssh.knownhosts.bookmark")
));
}
内容来源于网络,如有侵权,请联系作者删除!