com.sun.opengl.util
Class FileUtil

java.lang.Object
  extended bycom.sun.opengl.util.FileUtil

public class FileUtil
extends Object

Utilities for dealing with files.


Method Summary
static String getFileSuffix(File file)
          Returns the suffix of the given file name for identifying the file to the configured TextureProviders.
static String getFileSuffix(String filename)
          Returns the suffix of the given file name for identifying the file to the configured TextureProviders.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFileSuffix

public static String getFileSuffix(File file)
Returns the suffix of the given file name for identifying the file to the configured TextureProviders.

Parameters:
file - name of the file

getFileSuffix

public static String getFileSuffix(String filename)
Returns the suffix of the given file name for identifying the file to the configured TextureProviders.

Parameters:
filename - name of the file


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.