JFileChooser browsing a remote file system

后端 未结 3 1114
情书的邮戳
情书的邮戳 2020-12-21 21:28

I am trying to Implement a JFileChooser that allows a user to select files on a remote system via ftp.

Everything I\'ve read says this can be accomplished by extendi

相关标签:
3条回答
  • 2020-12-21 22:01

    If you want to implement your own FileSystemView and prevent access to the local file systems, you must of course override all methods or at least getSystemDisplayName and all the is* methods. Another problem is of course that the FileSystemView interface is closely linked to the File class, so it may not be trivial to provide a non-file-based implementation.

    0 讨论(0)
  • 2020-12-21 22:06

    Try vfsjfilechooser

    0 讨论(0)
  • 2020-12-21 22:23

    I am pretty sure this could be done. For a starter you could check out how the author of MediaChest (aka PhotoOrganizer) has done it.

    Discovered the relevant code files here Codase: FtpFileSystemView

    0 讨论(0)
提交回复
热议问题