本文整理了Java中org.eclipse.jgit.util.FileUtils.isSymlink()
方法的一些代码示例,展示了FileUtils.isSymlink()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FileUtils.isSymlink()
方法的具体详情如下:
包路径:org.eclipse.jgit.util.FileUtils
类名称:FileUtils
方法名:isSymlink
暂无
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
/**
* Whether the path is a symbolic link (and we support these).
*
* @param path
* a {@link java.io.File} object.
* @return true if the path is a symbolic link (and we support these)
* @throws java.io.IOException
* @since 3.0
*/
public boolean isSymLink(File path) throws IOException {
return FileUtils.isSymlink(path);
}
代码示例来源:origin: sonia.jgit/org.eclipse.jgit
/**
* @param path
* @return true if the path is a symbolic link (and we support these)
* @throws IOException
* @since 3.0
*/
public boolean isSymLink(File path) throws IOException {
return FileUtils.isSymlink(path);
}
代码示例来源:origin: berlam/github-bucket
/**
* Whether the path is a symbolic link (and we support these).
*
* @param path
* a {@link java.io.File} object.
* @return true if the path is a symbolic link (and we support these)
* @throws java.io.IOException
* @since 3.0
*/
public boolean isSymLink(File path) throws IOException {
return FileUtils.isSymlink(path);
}
代码示例来源:origin: sonia.jgit/org.eclipse.jgit
/**
* @param path
* @return {@code true} if the passed path is a symlink
* @deprecated Use {@link Files#isSymbolicLink(java.nio.file.Path)} instead
*/
@Deprecated
public static boolean isSymlink(File path) {
return FileUtils.isSymlink(path);
}
内容来源于网络,如有侵权,请联系作者删除!