Groovy - Get the parent directory name of a specific file Code Example

Here is the solution for "Get the parent directory name of a specific file" in Groovy.

Groovy code for Get the parent directory name of a specific file

file.getParentFile().getName();
Code by IncludeHelp, on March 13, 2023 22:47

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.