Java Path File Name nio getName(Path path)

Here you can find the source of getName(Path path)

Description

get Name

License

Open Source License

Declaration

@Deprecated
    public static String getName(Path path) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.nio.file.Path;

public class Main {
    @Deprecated
    public static String getName(Path path) {
        return getFileName(path);
    }// w ww  . j a  v  a 2 s. co m

    public static String getFileName(Path path) {
        return path.getFileName().toString();
    }
}

Related

  1. getJarContainingClass(String path, String className)
  2. getLatestUpgradeScriptName(Path upgradeScriptsDir)
  3. getLocalFilePath(String localDirectory, String filename)
  4. getManifestProperty(Path pathToJar, String propertyName)
  5. getName(Path file)
  6. getName(Path path)
  7. getName(Path path)
  8. getName(String path)
  9. getNamePart(Path file)