12 #ifndef ROOT_TXNetFileStager
13 #define ROOT_TXNetFileStager
27 class TFileCollection;
29 class TXNetFileStager :
public TFileStager {
35 static void GetPrefix(
const char *url, TString &pfx);
38 TXNetFileStager(
const char *stager =
"");
39 virtual ~TXNetFileStager();
41 Bool_t IsStaged(
const char *path);
42 Int_t Locate(
const char *path, TString &endpath);
43 Int_t LocateCollection(TFileCollection *fc, Bool_t addDummyUrl = kFALSE);
44 Bool_t Matches(
const char *s);
45 Bool_t Stage(
const char *path, Option_t *opt = 0);
46 Bool_t Stage(TCollection *pathlist, Option_t *opt = 0);
48 Bool_t IsValid()
const {
return (fSystem ? kTRUE : kFALSE); }
50 void Print(Option_t *option =
"")
const;
52 ClassDef(TXNetFileStager,0)