com.sun.opengl.util

Class 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.

Method Details

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.