@Override public boolean isAbsolute() { return base.isAbsolute(); }
/** * Check if the file name includes a path. This method is similar to Java 7 * <code>java.nio.file.Path.isAbsolute</code>. * * @param fileName the file name * @return if the file name is absolute */ public static boolean isAbsolute(String fileName) { return FilePath.get(fileName).isAbsolute() // Allows Windows to recognize "/path" as absolute. // Makes the same configuration work on all platforms. || fileName.startsWith("/"); }
@Override public boolean isAbsolute() { String fileName = translateFileName(name); return FilePath.get(fileName).isAbsolute(); }
@Override public boolean isAbsolute() { return base.isAbsolute(); }
@Override public boolean isAbsolute() { return base.isAbsolute(); }
/** * Check if the file name includes a path. This method is similar to Java 7 * <code>java.nio.file.Path.isAbsolute</code>. * * @param fileName the file name * @return if the file name is absolute */ public static boolean isAbsolute(String fileName) { return FilePath.get(fileName).isAbsolute(); }
/** * Check if the file name includes a path. This method is similar to Java 7 * <code>java.nio.file.Path.isAbsolute</code>. * * @param fileName the file name * @return if the file name is absolute */ public static boolean isAbsolute(String fileName) { return FilePath.get(fileName).isAbsolute(); }
@Override public boolean isAbsolute() { String fileName = translateFileName(name); return FilePath.get(fileName).isAbsolute(); }
@Override public boolean isAbsolute() { String fileName = translateFileName(name); return FilePath.get(fileName).isAbsolute(); }