NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #RFI-741950]: how to add ancillary file in a plugin



Hi Ghansham,

> >
> No it is an ancillary information containing the some the information
> related to my product which I want to use when reading the product.
> Actually I tried to read by using:
> getClass().getResourceAsStream(fileName);
> But it does not work. It seems such files get stripped off when the
> plugin jar gets loaded with IDV.
> 
> 

You can try:
     IOUtil.readContents(String path, Class someClass);
                      

-Jeff


Ticket Details
===================
Ticket ID: RFI-741950
Department: Support IDV
Priority: Normal
Status: Open