private boolean isOutFile ( final URI toCheckPath ) { final String path = toCheckPath . getPath ( ) ; return ! ( path != null && path . startsWith ( rootDir . getPath ( ) ) ) ; }
Check if path walks up in parent directories