Package org.hive2hive.core.processes.implementations.context

Examples of org.hive2hive.core.processes.implementations.context.DeleteFileProcessContext


   * Deletes the specified file. Note that this is only valid for a single file or an empty folder
   * (non-recursive)
   */
  public ProcessComponent createDeleteFileProcess(File file, NetworkManager networkManager) throws NoSessionException,
      NoPeerConnectionException {
    DeleteFileProcessContext context = new DeleteFileProcessContext(file.isDirectory());

    // process composition
    SequentialProcess process = new SequentialProcess();

    // hint: this step automatically adds additional process steps when the meta file and the chunks need
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.context.DeleteFileProcessContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.