Class XNioPathUtils


  • public final class XNioPathUtils
    extends Object
    Helper functions for Path instances.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • getFileName

        public static String getFileName​(Path path)
        Gets the file name of the given path, or empty when the path does not have any path segments.
        Parameters:
        path - Path to process.
        Returns:
        The file name of the given path.