コード例 #1
0
ファイル: SRMDir.java プロジェクト: skoulouzis/vbrowser
 public SRMDir(SRMFileSystem client, TMetaDataPathDetail details, DirQuery dirQ) {
   super(client, (VRL) null);
   this.srmfs = client;
   this.srmDetails = details;
   this.dirQuery = dirQ;
   // recreate Dir VRL !
   VRL vrl = client.createPathVRL(details.getPath(), null);
   this.setLocation(vrl);
 }
コード例 #2
0
ファイル: SRMDir.java プロジェクト: skoulouzis/vbrowser
  public SRMDir(SRMFileSystem client, VRL vrl) {
    super(client, (VRL) null);
    this.srmfs = client;

    // parse dir query or return null object!
    this.dirQuery = DirQuery.parseDirQuery(vrl);

    // update VRL !
    VRL parsedVrl = client.createPathVRL(vrl.getPath(), dirQuery);
    this.setLocation(parsedVrl);
  }