2. 目前方法
Method Summary | |
---|---|
void | create(java.lang.String type, java.io.File src, net.asgc.gap.dm.fs.Path destFile) Upload a local file object to GAP DM, and should assign a storage type(Driver) to upload |
java.io.OutputStream | create(java.lang.String type, net.asgc.gap.dm.fs.Path destFile) Create (Upload) a file to GAP file system |
void | create(net.asgc.gap.dm.fs.UploadBeen destFileSet) Create (upload) file list to GAP file system |
net.asgc.gap.dm.fs.driver.Driver | getDriver(java.lang.String type) Get driver by key |
net.asgc.gap.dm.fs.FileStatus | getFileStatus(net.asgc.gap.dm.fs.Path p) Get the metadata for a file |
net.asgc.gap.dm.fs.FileStatus | getTempStatus() |
net.asgc.gap.dm.fs.Path | getWorkingDir() |
net.asgc.gap.dm.fs.FileStatus[] | listStatus(net.asgc.gap.dm.fs.Path p) Get metadata of all directories and files under a directory |
static void | main(java.lang.String[] args) |
boolean | mkdirs(net.asgc.gap.dm.fs.Path f) create a directory |
java.io.InputStream | open(net.asgc.gap.dm.fs.Path srcDMPath) Open (Download) a file from GAP file system |
void | open(net.asgc.gap.dm.fs.Path srcDMPath, net.asgc.gap.dm.fs.Path dest) |
void | refreshTempStatus() |
boolean | rename(net.asgc.gap.dm.fs.Path src, net.asgc.gap.dm.fs.Path dst) |
boolean | setFileStatus(net.asgc.gap.dm.fs.Path destDMPath, net.asgc.gap.dm.fs.FileStatus status) Set(Create) the metadata for a file |
void | setWorkingDir(net.asgc.gap.dm.fs.Path workingDir) |
boolean | updateFileStatus(net.asgc.gap.dm.fs.FileStatus status) Update the metadata for a file |
沒有留言:
張貼留言