RE: Missing type information (not seen in visitor)

2017-09-25 Thread Showalter, Jim
org.apache.bcel -Original Message- From: Gary Gregory [mailto:garydgreg...@gmail.com] Sent: Monday, September 25, 2017 6:15 PM To: Commons Users List Subject: Re: Missing type information (not seen in visitor) Which Commons component are you using? Gary On Sep 25, 2017 17:05, "Showalt

Re: Missing type information (not seen in visitor)

2017-09-25 Thread Gary Gregory
Which Commons component are you using? Gary On Sep 25, 2017 17:05, "Showalter, Jim" wrote: > We have two classes like this: > > package com.intuit.foo; > > public class Foo { > } > > public class FooHolder { >private List foos = new ArrayList<>(); > } > > After visiting both cla

Missing type information (not seen in visitor)

2017-09-25 Thread Showalter, Jim
We have two classes like this: package com.intuit.foo; public class Foo { } public class FooHolder { private List foos = new ArrayList<>(); } After visiting both classes and dumping out the info, I see this: com/intuit/foo/Foo: class, lines 0 to ~2, deletable, public com/intu

Re: [fileupload] API compatibility across versions

2017-09-25 Thread Benedikt Ritter
Hello Christopher, > Am 20.09.2017 um 18:18 schrieb Christopher Schultz > : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I've taken a look back at the "recent" fileupload release > announcements, and I can't seem to see any documentation on the API > compatibility between

Re: [VFS] How to override a FileContent / FileContentInfo provider for an existing filesystem?

2017-09-25 Thread Gary Gregory
I'm curious at what Ralph thinks. You could consider providing a PR to add the feature to make the class pluggable and see how much code that touches... Gary On Mon, Sep 25, 2017 at 10:23 AM, Carl Eric Codere < cecod...@yahoo.ca.invalid> wrote: > Greetings, Thanks for your quick repl

Re: [VFS] How to override a FileContent / FileContentInfo provider for an existing filesystem?

2017-09-25 Thread Carl Eric Codere
Greetings, Yes, I was talking about javax.activation.DataSource, which seems to be consistent with what you are doing, but it does not seem to have available in Android i think, so it could be an issue, also same for FileTypeMap, thanks for the clarification. Best regards,Carl

Re: [VFS] How to override a FileContent / FileContentInfo provider for an existing filesystem?

2017-09-25 Thread Carl Eric Codere
Greetings,             Thanks for your quick reply!  Yes, you are correct.  I would like to have a way to change the provider, I would subclass the implementation that you have and use that as content and contentInfo provider. Otherwise, if its not the case, currently i need to reimplement every

Re: [VFS] How to override a FileContent / FileContentInfo provider for an existing filesystem?

2017-09-25 Thread Gary Gregory
Hi Carl, WRT DataSource, this is a JDBC interface, which does not seem appropriate for a file system. Or do you mean javax.activation.DataSource. Apache Commons VFS was started a long time ago and not adapted to newer JREs in this area (obviously.) Gary On Mon, Sep 25, 2017 at 8:31 AM, Carl Eri

Re: [VFS] How to override a FileContent / FileContentInfo provider for an existing filesystem?

2017-09-25 Thread Gary Gregory
Hi Carl, Do you mean org.apache.commons.vfs2.impl.DefaultFileContentInfo and org.apache.commons.vfs2.impl.FileContentInfo? Ralph, do have issue as to make this pluggable? Gary On Mon, Sep 25, 2017 at 8:31 AM, Carl Eric Codere wrote: > Greetings,I am interested in using the VFS

[VFS] How to override a FileContent / FileContentInfo provider for an existing filesystem?

2017-09-25 Thread Carl Eric Codere
Greetings,    I am interested in using the VFS library for one of my projects, as it has almost everything I need, but i have some questions on it though. My use case is as follows:* For the local file system, I use DESCRIPT.ION files to store attributes of files and directories, so