Files
methods directly.@Deprecated public class Java7Support extends Object
Constructor and Description |
---|
Java7Support()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static File |
createSymbolicLink(File symlink,
File target)
Deprecated.
|
static void |
delete(File file)
Deprecated.
Performs a nio delete
|
static boolean |
exists(File file)
Deprecated.
|
static boolean |
isAtLeastJava7()
Deprecated.
|
static boolean |
isJava7()
Deprecated.
|
static boolean |
isSymLink(File file)
Deprecated.
|
static File |
readSymbolicLink(File symlink)
Deprecated.
|
public static boolean isSymLink(@Nonnull File file)
file
- The file to check for being a symbolic link.@Nonnull public static File readSymbolicLink(@Nonnull File symlink) throws IOException
symlink
- The sym link.IOException
- in case of error.public static boolean exists(@Nonnull File file) throws IOException
file
- The file to check.IOException
- in case of failure.@Nonnull public static File createSymbolicLink(@Nonnull File symlink, @Nonnull File target) throws IOException
symlink
- The link name.target
- The target.IOException
- in case of an error.public static void delete(@Nonnull File file) throws IOException
file
- the file to deleteIOException
- in case of error.public static boolean isJava7()
public static boolean isAtLeastJava7()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.