Is there an equivalent module for Groovy as Python’s os.path?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Most of the
os.pathfunctionality is found in the methods on thejava.io.Fileclass. In addition, if you’re using Java 1.7, there are some additional methods injava.nio.file.Files.Also note that groovy transparently adds some new addtional functionality on top of Java. These additional methods are documented here: http://groovy.codehaus.org/groovy-jdk/java/io/File.html