[GitHub] [commons-vfs] XenoAmess commented on pull request #89: [VFS-443] added function FileSystemManager.toFile(FileObject fileObject)

2021-03-15 Thread GitBox
XenoAmess commented on pull request #89: URL: https://github.com/apache/commons-vfs/pull/89#issuecomment-799419489 > I think we should close this in favor of using `FileObject.getPath().toFile()` instead. Good to hear there finally be a way to do so. I will test it when I get

[GitHub] [commons-vfs] XenoAmess commented on pull request #89: [VFS-443] added function FileSystemManager.toFile(FileObject fileObject)

2020-08-14 Thread GitBox
XenoAmess commented on pull request #89: URL: https://github.com/apache/commons-vfs/pull/89#issuecomment-674346750 @pdinc-oss besides it might NOT be as easy as you think... for example, File have a function `public Path toPath()` means we must implement a Path class as well.

[GitHub] [commons-vfs] XenoAmess commented on pull request #89: [VFS-443] added function FileSystemManager.toFile(FileObject fileObject)

2020-08-14 Thread GitBox
XenoAmess commented on pull request #89: URL: https://github.com/apache/commons-vfs/pull/89#issuecomment-674346219 @pdinc-oss > The File API is not that hard to implement。 What is File API? As far as I can see, File is a class, not an interface. So if you mean we extend

[GitHub] [commons-vfs] XenoAmess commented on pull request #89: [VFS-443] added function FileSystemManager.toFile(FileObject fileObject)

2020-07-29 Thread GitBox
XenoAmess commented on pull request #89: URL: https://github.com/apache/commons-vfs/pull/89#issuecomment-665616688 > -1 This is mixing two kinds of file systems which I do not think is a pattern we want to get into. Don't think so, as we have a toFileObject function that convert a

[GitHub] [commons-vfs] XenoAmess commented on pull request #89: [VFS-443] added function FileSystemManager.toFile(FileObject fileObject)

2020-06-22 Thread GitBox
XenoAmess commented on pull request #89: URL: https://github.com/apache/commons-vfs/pull/89#issuecomment-647823878 > Is it possible to get a local file for a remote object like an HTTP URL? Even if it must copy the input stream first, it would be nice to have such functionality provided.