Bug 281 - FileUtil doc enhancement
Summary: FileUtil doc enhancement
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P5 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2007-02-26 05:24 CET by Sven Gothel
Modified: 2015-09-27 03:14 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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