org.proteinshader.graphics.textures
Interface ConfigReader

All Known Implementing Classes:
EqualSignConfigReader

public interface ConfigReader

Reads a configuration file to obtain a list of menu names and matching filenames for textures.


Method Summary
 List<NamePair> readConfigFile(File file)
          Reads a configuration file to obtain a list of menu names with a matching filename for each menu name.
 List<NamePair> readConfigFile(String filename)
          Reads a configuration file to obtain a list of menu names with a matching filename for each menu name.
 

Method Detail

readConfigFile

List<NamePair> readConfigFile(String filename)
                              throws TextureException
Reads a configuration file to obtain a list of menu names with a matching filename for each menu name.

Parameters:
filename - the config file to read.
Returns:
A list of menu name and filename pairs.
Throws:
TextureException - if the config file cannot be read.

readConfigFile

List<NamePair> readConfigFile(File file)
                              throws TextureException
Reads a configuration file to obtain a list of menu names with a matching filename for each menu name.

Parameters:
file - the config file to read.
Returns:
A list of menu name and filename pairs.
Throws:
TextureException - if the config file cannot be read.


Copyright © 2007-2008