public static boolean inspectAndInflowDownloaded(int id, String path, boolean forceReDownload,
                                                     boolean flowDirectly) {
        if (forceReDownload) {
            return false;
        }

        if (path != null) {
            final File file = new File(path);
            if (file.exists()) {
                MessageSnapshotFlow.getImpl().inflow(MessageSnapshotTaker.
                        catchCanReusedOldFile(id, file, flowDirectly));
                return true;
            }
        }

        return false;
    }
public static boolean inspectAndInflowDownloaded ( int id , String path , boolean forceReDownload , boolean flowDirectly ) { if ( forceReDownload ) { return false ; } if ( path != null ) { final File file = new File ( path ) ; if ( file . exists ( ) ) { MessageSnapshotFlow . getImpl ( ) . inflow ( MessageSnapshotTaker . catchCanReusedOldFile ( id , file , flowDirectly ) ) ; return true ; } } return false ; }
@param id              the {@code id} used for filter out which task would be notified the
'completed' message if need.
@param path            if the file with {@code path} is exist it means the relate task would
be completed.
@param forceReDownload whether the task is force to re-download ignore whether the file has
been exist or not.
@param flowDirectly    {@code true} if flow the message if need directly without throw to the
message-queue.
@return whether the task with {@code id} has been downloaded.