private ArchivePath calculatePath ( File root , File child ) { String rootPath = unifyPath ( root . getPath ( ) ) ; String childPath = unifyPath ( child . getPath ( ) ) ; String archiveChildPath = childPath . replaceFirst ( Pattern . quote ( rootPath ) , "" ) ; return new BasicPath ( archiveChildPath ) ; }
Calculate the relative child path .