net.sf.freecol.common.io
Class FreeColTcFile

java.lang.Object
  extended by net.sf.freecol.common.io.FreeColDataFile
      extended by net.sf.freecol.common.io.FreeColModFile
          extended by net.sf.freecol.common.io.FreeColTcFile

public class FreeColTcFile
extends FreeColModFile

A Total Conversion (TC).


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.freecol.common.io.FreeColModFile
FreeColModFile.ModInfo
 
Field Summary
 
Fields inherited from class net.sf.freecol.common.io.FreeColModFile
FILE_ENDINGS
 
Constructor Summary
FreeColTcFile(java.lang.String id)
          Opens the given file for reading.
 
Method Summary
 ResourceMapping getResourceMapping()
          Creates a ResourceMapping from the file .
 
Methods inherited from class net.sf.freecol.common.io.FreeColModFile
getId, getModInfo, getSpecificationInputStream
 
Methods inherited from class net.sf.freecol.common.io.FreeColDataFile
getFileFilter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeColTcFile

public FreeColTcFile(java.lang.String id)
Opens the given file for reading.

Parameters:
id - The id of the TC to load.
Throws:
java.io.IOException - if thrown while opening the file.
Method Detail

getResourceMapping

public ResourceMapping getResourceMapping()
Creates a ResourceMapping from the file .

Overrides:
getResourceMapping in class FreeColDataFile
Returns:
A ResourceMapping or null there is no resource mapping file.