Re: How to implement a MultiFileLoader?

geertjan wielenga <[email protected]> Fri, 7 Jul 2017 15:02:17 +0200
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization Oracle Corporation
Message-ID <[email protected]>
org.openide.filesystems.FileUtil.findBrother

http://bits.netbeans.org/dev/javadoc/org-openide-filesystems/org/openide/filesystems/FileUtil.html#findBrother-org.openide.filesystems.FileObject-java.lang.String-

https://blogs.oracle.com/geertjan/orgopenidefilesystemsfileutilfindbrother

Gj

On 7-7-2017 14:57, Peter Nabbefeld wrote:
>
> Hello,
>
> I'm missing support for MultiDataObject - current file type tutorials 
> don't seem to cover this.
>
> I've got 2 XML files (extensions "layoutml" and "eoml") and an 
> additional XML file (with extension "eoml") in a folder (which has a 
> fixed name).
>
> I'd like to get all of these as one MultiDataObject (making either the 
> layoutml or the outer "eoml" file the primary file - the eoml has some 
> metadata, but there exist different eoml's for different datatypes).
>
> I'd also like to only see the primary file, while the other files and 
> the extra folder should be invisible to the user.
>
> Kind regards
> Peter
>