Spring Integration

org.springframework.integration.file.remote.session
Interface ExtendedSession<T>

All Superinterfaces:
Session<T>
All Known Implementing Classes:
FtpSession

public interface ExtendedSession<T>
extends Session<T>

Temporary extension to Session to avoid a breaking change in a point release - merge with Session in 2.2.

**NOTE** This interface will be removed (not deprecated) in 2.2. It exists purely to avoid existing user implementations of Session from failing to compile if we had added the new method to that interface.

Any user implementations of ExtendedSession will need to be refactored to implement Session in 2.2.

Since:
2.1.1
Author:
Gary Russell

Method Summary
 java.lang.String[] listNames(java.lang.String path)
          Returns an array of Strings containing just the names of the remote files at path.
 
Methods inherited from interface org.springframework.integration.file.remote.session.Session
close, exists, isOpen, list, mkdir, read, remove, rename, write
 

Method Detail

listNames

java.lang.String[] listNames(java.lang.String path)
                             throws java.io.IOException
Returns an array of Strings containing just the names of the remote files at path. Will move to Session in 2.2.

Parameters:
path - The path
Returns:
The list of names
Throws:
java.io.IOException

Spring Integration