Bug 281

Summary: FileUtil doc enhancement
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P5    
Version: 1   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:50:12 CET


---- Reported by moorej 2007-02-26 17:24:28 ----

getFileSuffix of com.sun.opengl.util.FileUtil should state that it only returns
lower case versions of the suffix, and how it handles errors, i.e.

"Returns the lowercase suffix of the given file name for identifying the file to
the configured TextureProviders, returns null if the extension doesn't exist, or
throws NullPointerException on null input."

getFileSuffix(File file) also might want to mention that the file may not really
exist for this to return an extension.  It only operates on the given string
name and performs no I/O operations.



---- Additional Comments From kbr 2007-02-27 14:31:48 ----

Improved documentation as suggested.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:50 EDT  ---

This bug was previously known as _bug_ 281 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=281