Java Is Symbolic Link isSymbolicLink(File file)

Here you can find the source of isSymbolicLink(File file)

Description

is Symbolic Link

License

Apache License

Declaration

static boolean isSymbolicLink(File file) throws IOException 

Method Source Code

//package com.java2s;
// Licensed under the Apache License, Version 2.0 (the "License");

import java.io.File;

import java.io.IOException;

public class Main {
    static boolean isSymbolicLink(File file) throws IOException {
        return !file.getAbsolutePath().equals(file.getCanonicalPath());
    }//  w ww  . ja  v  a  2  s .  co  m
}

Related

  1. isSymbolicLink(File file)
  2. isSymbolicLink(File file)
  3. isSymbolicLink(File file)
  4. isSymbolicLink(File parent, String name)
  5. isSymlink(File base, File curious)
  6. isSymLink(File file)