org.springframework.integration.file.remote.session
Interface Session
public interface Session
Common abstraction for a Session with a remote File system.
- Since:
- 2.0
Method Summary |
void |
close()
|
boolean |
exists(java.lang.String path)
|
boolean |
isOpen()
|
|
list(java.lang.String path)
|
void |
mkdir(java.lang.String directory)
|
void |
read(java.lang.String source,
java.io.OutputStream outputStream)
|
boolean |
remove(java.lang.String path)
|
void |
rename(java.lang.String pathFrom,
java.lang.String pathTo)
|
void |
write(java.io.InputStream inputStream,
java.lang.String destination)
|
remove
boolean remove(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
list
<F> F[] list(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
read
void read(java.lang.String source,
java.io.OutputStream outputStream)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(java.io.InputStream inputStream,
java.lang.String destination)
throws java.io.IOException
- Throws:
java.io.IOException
mkdir
void mkdir(java.lang.String directory)
throws java.io.IOException
- Throws:
java.io.IOException
rename
void rename(java.lang.String pathFrom,
java.lang.String pathTo)
throws java.io.IOException
- Throws:
java.io.IOException
close
void close()
isOpen
boolean isOpen()
exists
boolean exists(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException