Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Additions to FormNode(?)

A brief correction followed an olive branch:

Tom pointed out that my last message said:

        By "user interface", I hope you don't mean core VisAD user-interface
        helper classes, not user-developed code.

and, of course, I really meant:

        By "user interface", I hope you mean core VisAD user-interface
        helper classes, not user-developed code.


As quick summary, I want to add three methods to all the file types:

        public boolean isThisType(String name)
        public boolean isThisType(byte[] block)
        public String[] getDefaultSuffixes()

Would it be more palatable to you if we created a new FileType interface
which specified those methods?  That'd let us get quick lookup functions
into the file type classes but still keep them logically separate from
the FormNode class.


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690