public static String getEncapsulatingDir ( final String aBasePath , final String aPtPath ) throws InvalidPathException { return getEncapsulatingDir ( removeBasePath ( aBasePath , aPtPath ) ) ; }
Extracts the encapsulating directory from the supplied Pairtree path using the supplied base path .