static boolean isFileAChild(File parent, File child) {
        String pNormalized = PathUtils.normalize(parent.getAbsolutePath());
        String cNormalized = PathUtils.normalize(child.getAbsolutePath());

        // If the child's normalized path length is <= to the the parent's,
        // it isn't a child
        if (cNormalized.length() <= pNormalized.length())
            return false;

        if (cNormalized.startsWith(pNormalized))
            return true;

        return false;
    }
static boolean isFileAChild ( File parent , File child ) { String pNormalized = PathUtils . normalize ( parent . getAbsolutePath ( ) ) ; String cNormalized = PathUtils . normalize ( child . getAbsolutePath ( ) ) ; if ( cNormalized . length ( ) <= pNormalized . length ( ) ) return false ; if ( cNormalized . startsWith ( pNormalized ) ) return true ; return false ; }
@param parent
@param child
@return