public interface IFileSystem extends IWritableMount
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
combine(java.lang.String path,
java.lang.String child)
Combine two paths together, reducing them into a normalised form.
|
void |
copy(java.lang.String from,
java.lang.String to)
Copy files from one location to another.
|
void |
move(java.lang.String from,
java.lang.String to)
Move files from one location to another.
|
delete, getRemainingSpace, makeDirectory, openChannelForAppend, openChannelForWrite, openForAppend, openForWriteexists, getSize, isDirectory, list, openChannelForRead, openForReadjava.lang.String combine(java.lang.String path,
java.lang.String child)
path - The main path.child - The path to append.void copy(java.lang.String from,
java.lang.String to)
throws java.io.IOException
from - The location to copy from.to - The location to copy to. This should not exist.java.io.IOException - If the copy failed.void move(java.lang.String from,
java.lang.String to)
throws java.io.IOException
from - The location to move from.to - The location to move to. This should not exist.java.io.IOException - If the move failed.