filetraverser/Unix.java
changeset 151 a8c2649cf277
new file mode 100644
--- /dev/null
+++ b/filetraverser/Unix.java
@@ -0,0 +1,17 @@
+public class Unix {
+    public static native int isUnixLink(String name);
+
+    public static boolean isLink(String name) {
+        if (isUnixLink(name) == 1)
+            return true;
+        return false;
+    }
+
+    static {
+        try {
+            System.loadLibrary("Unix");
+        } catch (UnsatisfiedLinkError ule) {
+            ule.printStackTrace();
+        }
+    }
+}