private boolean isSymlink(File f) throws IOException {
        return !f
                .getAbsolutePath()
                .equals(f.getCanonicalPath());
    }
Demonstrates Tika and its ability to sense symlinks.
tika-example/src/main/java/org/apache/tika/example/RollbackSoftware.java