org.apache.logging.log4j.core.helpers
Class FileUtils
java.lang.Object
org.apache.logging.log4j.core.helpers.FileUtils
public final class FileUtils
- extends Object
File utilities.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileFromURI
public static File fileFromURI(URI uri)
- Tries to convert the specified URL to a file object. If this fails,
null is returned.
- Parameters:
uri
- the URI
- Returns:
- the resulting file object
isFile
public static boolean isFile(URL url)
Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.