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 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.