Package org.iosgi.outpost.operations

Examples of org.iosgi.outpost.operations.MkDir


  public void test() throws Exception {
    Client c = new Client("localhost");
    c.connect(5, TimeUnit.SECONDS);
    File dir = new File(new File("."), "test");
    Assert.assertFalse(dir.exists());
    MkDir mkdir = new MkDir(dir);
    c.perform(mkdir);
    Assert.assertTrue(dir.exists());
    Assert.assertTrue(dir.isDirectory());
    dir.delete();
  }
View Full Code Here


    }
  }

  public void mkdir(File dir) throws InterruptedException,
      OperationExecutionException {
    MkDir mkdir = new MkDir(dir);
    perform(mkdir);
  }
View Full Code Here

TOP

Related Classes of org.iosgi.outpost.operations.MkDir

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.