public class FileUtils
- extends Object
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static File resolvePath(File base,
- Resolves a path relative a base directory.
This method does what "new File(base,path)" Should do, if it wasn't
completely lame: If path is absolute, then a File for that path is returned;
if it's not absolute, then a File is returned using "path" as a child
public static void copyFile(File src,
public static void sync(File fullFile)
- Copied from Lucene's FSDirectory.fsync(String)
fullFile - the File to be synced to disk
IOException - if the file could not be synced
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.