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 isOpen()
           
<F> F[]
list(java.lang.String path)
           
 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)
           
 

Method Detail

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

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()