HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

DZone voters are special people. Be special. Login and vote now.
Link 134125 thumbnail
User 354481 avatar

By onyxbits
via onyxbits.de
Published: Nov 17 2008 / 14:00

Ever wanted to delete a directory tree in Java on a POSIX system? Funny thing: There is no safe way to do it. Java does not yet provide a way to figure out whether or not a File object is a softlink and if your directory contains one of these, pointing outside of the intended tree, you are screwed. Enter the wonderful world of JNI to work around this problem, till Dolphin comes around.
  • 10
  • 0
  • 1311
  • 1

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)