public interface FileAdapter
| 限定符和类型 | 方法和说明 |
|---|---|
String |
createFolderPath() |
void |
delete(String vfsPath) |
boolean |
exists(String vfsPath) |
InputStream |
getInputStream(String vfsPath) |
Long |
getLength(String vfsPath) |
String |
getMD5Hash(String vfsPath) |
MD5InputStream |
getMD5InputStream(String vfsPath) |
MD5OutputStream |
getOutputStream(String vfsPath) |
String |
getRootPath() |
void |
mkdirs(String vfsPath) |
List<String> |
readLine(String vfsPath,
List<Integer> lineNums) |
boolean |
testConnection(String vfsPath) |
long |
write(String vfsPath,
InputStream in) |
long |
write(String vfsPath,
MD5InputStream in) |
Integer |
writeLine(String vfsPath,
String str) |
String getRootPath()
String createFolderPath()
void mkdirs(String vfsPath)
void delete(String vfsPath)
boolean exists(String vfsPath)
boolean testConnection(String vfsPath)
long write(String vfsPath, MD5InputStream in)
long write(String vfsPath, InputStream in)
MD5InputStream getMD5InputStream(String vfsPath)
InputStream getInputStream(String vfsPath)
MD5OutputStream getOutputStream(String vfsPath)
Copyright © 2023 onecode. All rights reserved.