org.apache.hadoop.fs
Class FileUtil.HardLink

java.lang.Object
  extended by org.apache.hadoop.fs.FileUtil.HardLink
Enclosing class:
FileUtil

public static class FileUtil.HardLink
extends Object

Class for creating hardlinks. Supports Unix, Cygwin, WindXP.

Author:
Konstantin Shvachko

Constructor Summary
FileUtil.HardLink()
           
 
Method Summary
static void createHardLink(File target, File linkName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil.HardLink

public FileUtil.HardLink()
Method Detail

createHardLink

public static void createHardLink(File target,
                                  File linkName)
                           throws IOException
Throws:
IOException


Copyright © 2006 The Apache Software Foundation