Package | Description |
---|---|
org.waarp.common.file.passthrough |
Classes implementing FileInterface and Directory according to a pass through implementation (no
storage since data are just pass through this interface)
|
Modifier and Type | Method and Description |
---|---|
boolean |
PassthroughFile.changeDirectory(String path) |
void |
PassthroughFile.close() |
PassthroughFile |
PassthroughFileFactory.create(PassthroughBasedFileImpl pbfi) |
PassthroughFile |
PassthroughFileFactory.create(PassthroughFile dir,
String path) |
boolean |
PassthroughFile.delete() |
String |
PassthroughFile.fileFull(boolean lsFormat) |
void |
PassthroughFile.flush() |
long |
PassthroughFile.getCRC() |
long |
PassthroughFile.getFreeSpace() |
byte[] |
PassthroughFile.getMD5() |
String |
PassthroughFile.getModificationTime()
Return the Modification time
|
byte[] |
PassthroughFile.getSHA1() |
List<String> |
PassthroughFile.list() |
List<String> |
PassthroughFile.listFull(boolean lsFormat) |
boolean |
PassthroughFile.mkdir() |
void |
PassthroughFile.position(long position) |
io.netty.buffer.ByteBuf |
PassthroughFile.read(int sizeblock) |
boolean |
PassthroughFile.renameTo(String path) |
boolean |
PassthroughFile.rmdir() |
long |
PassthroughFile.transferTo(FileChannel out)
Note: be aware to not directly use transferTo or transferFrom at once but to use them by
chunk to prevent memory usage (mmap used under the wood by the JVM)
|
List<String> |
PassthroughFile.wildcard(String subPath) |
int |
PassthroughFile.write(io.netty.buffer.ByteBuf buffer) |
Copyright © 2009–2019 Waarp. All rights reserved.