Package com.vmware.vim.binding.vim.host.DatastoreBrowser

Examples of com.vmware.vim.binding.vim.host.DatastoreBrowser.SearchResults


   throws Exception {
      try {
         VcTask task = searchFile(ds, filePath, null);
         // XXX This task frequently raises a WARN in VcTask for dropped VC taskInfo.state.
         task.waitForCompletion();
         SearchResults results = (SearchResults)task.getTaskResult();
         FileInfo[] files = results.getFile();
         if (files != null && files.length > 0) {
            AuAssert.check(files.length == 1);
            // Only return the file name. It's directory is reported elsewhere.
            return files[0].getPath();
         }
View Full Code Here

TOP

Related Classes of com.vmware.vim.binding.vim.host.DatastoreBrowser.SearchResults

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.