Package ro.sync.net.protocol
Interface FileBrowsingConnection
-
- All Known Implementing Classes:
FilterURLConnection
@API(src=PUBLIC, type=EXTENDABLE) public interface FileBrowsingConnection
Interface implemented by an URLConnection class that supports file browsing.- Since:
- 17.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<FolderEntryDescriptor>
listFolder()
Retrieves all children of the directory identified by the URL on which this connection is made.
-
-
-
Method Detail
-
listFolder
java.util.List<FolderEntryDescriptor> listFolder() throws java.io.IOException, UserActionRequiredException
Retrieves all children of the directory identified by the URL on which this connection is made.- Returns:
- For list of descriptors for each folder entry.
- Throws:
java.io.IOException
- If the remote server could not return a list of children.UserActionRequiredException
- Whether the browsing requires user interaction, like login.
-
-