我想使用IResources或IFolder接口方法以编程方式在我的eclipse插件项目中的文件夹中创建一些文件夹。然后我想在新创建的文件夹中移动父文件夹的文件...
答案 0 :(得分:0)
使用以下内容创建一个文件夹:
TypeName: Microsoft.NetworkLoadBalancingClusters.PowerShell.Node
Name MemberType Definition
---- ---------- ----------
Equals Method bool Equals(System.Object obj)
GetHashCode Method int GetHashCode()
GetType Method type GetType()
ToString Method string ToString()
AdapterGuid Property string AdapterGuid {get;set;}
Cluster Property Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster Cluster {get;set;}
FilterIcmp Property int FilterIcmp {get;set;}
GreDescriptorTimeout Property int GreDescriptorTimeout {get;set;}
Host Property string Host {get;set;}
HostPriority Property int HostPriority {get;set;}
InitialHostState Property Microsoft.NetworkLoadBalancingClusters.PowerShell.NodeInitialHostState InitialHost
InterfaceName Property string InterfaceName {get;set;}
MaskSourceMac Property bool MaskSourceMac {get;set;}
Name Property string Name {get;set;}
PersistSuspendOnReboot Property bool PersistSuspendOnReboot {get;set;}
State Property Microsoft.NetworkLoadBalancingClusters.PowerShell.NodeStatus State {get;set;}
其中IFolder folder = container.getFolder("folder name");
folder.create(false, true, progressMonitor);
是包含新文件夹的文件夹或项目。
使用
移动资源container