本文整理了Java中ch.cyberduck.core.Local.getExtension()
方法的一些代码示例,展示了Local.getExtension()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Local.getExtension()
方法的具体详情如下:
包路径:ch.cyberduck.core.Local
类名称:Local
方法名:getExtension
暂无
代码示例来源:origin: iterate-ch/cyberduck
@Override
public boolean accept(Local file) {
if(file.isDirectory()) {
return true;
}
return "xml".equals(file.getExtension());
}
代码示例来源:origin: iterate-ch/cyberduck
@Override
public boolean accept(Local file) {
if(file.isDirectory()) {
return false;
}
return "ini".equals(file.getExtension());
}
})) {
代码示例来源:origin: iterate-ch/cyberduck
@Override
public I fileIcon(final Local item, final Integer size) {
return this.documentIcon(item.getExtension(), size);
}
代码示例来源:origin: iterate-ch/cyberduck
public boolean panel_shouldShowFilename(ID panel, String path) {
final Local f = LocalFactory.get(path);
if(f.isDirectory()) {
return true;
}
final String extension = f.getExtension();
if(StringUtils.isEmpty(extension)) {
return false;
}
return extension.equals("app");
}
}
代码示例来源:origin: iterate-ch/cyberduck
if("duck".equals(f.getExtension())) {
final Host bookmark;
try {
else if("cyberducklicense".equals(f.getExtension())) {
final License l = LicenseFactory.get(f);
if(l.verify(new DisabledLicenseVerifierCallback())) {
else if("cyberduckprofile".equals(f.getExtension())) {
try {
final Protocol profile = ProfileReaderFactory.get().read(f);
内容来源于网络,如有侵权,请联系作者删除!