title: Get parent directory's parent directory name in java
body: <p>I have current working file's directory path <code>I:\apache-tomcat-7.0.40\webapps\ExecutableFileProcess\WEB-INF\classes\PackageName\</code></p>
  
  <p>I want path like <code>I:\apache-tomcat-7.0.40\webapps\ExecutableFileProcess\</code>. How can I do this in java code?</p>