本文整理了Java中ch.cyberduck.core.features.Write.temporary()
方法的一些代码示例,展示了Write.temporary()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Write.temporary()
方法的具体详情如下:
包路径:ch.cyberduck.core.features.Write
类名称:Write
方法名:temporary
暂无
代码示例来源:origin: iterate-ch/cyberduck
@Override
public boolean temporary() {
return proxy.temporary();
}
代码示例来源:origin: iterate-ch/cyberduck
@Override
public boolean temporary() {
return proxy.temporary();
}
代码示例来源:origin: iterate-ch/cyberduck
@Override
public boolean temporary() {
return proxy.temporary();
}
代码示例来源:origin: iterate-ch/cyberduck
@Override
public boolean temporary() {
return proxy.temporary();
}
代码示例来源:origin: iterate-ch/cyberduck
@Override
public AbstractUploadFilter filter(final Session<?> source, final Session<?> destination, final TransferAction action, final ProgressListener listener) {
if(log.isDebugEnabled()) {
log.debug(String.format("Filter transfer with action %s", action));
}
final Symlink symlink = source.getFeature(Symlink.class);
final UploadSymlinkResolver resolver = new UploadSymlinkResolver(symlink, roots);
if(options.temporary) {
options.withTemporary(source.getFeature(Write.class).temporary());
}
if(action.equals(TransferAction.resume)) {
return new ResumeFilter(resolver, source, options).withCache(cache);
}
if(action.equals(TransferAction.rename)) {
return new RenameFilter(resolver, source, options).withCache(cache);
}
if(action.equals(TransferAction.renameexisting)) {
return new RenameExistingFilter(resolver, source, options).withCache(cache);
}
if(action.equals(TransferAction.skip)) {
return new SkipFilter(resolver, source, options).withCache(cache);
}
if(action.equals(TransferAction.comparison)) {
return new CompareFilter(resolver, source, options, listener).withCache(cache);
}
return new OverwriteFilter(resolver, source, options).withCache(cache);
}
内容来源于网络,如有侵权,请联系作者删除!