|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.common.io.FreeColDataFile
net.sf.freecol.common.io.FreeColModFile
net.sf.freecol.common.io.FreeColTcFile
public class FreeColTcFile
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 |
---|
public FreeColTcFile(java.lang.String id)
id
- The id of the TC to load.
java.io.IOException
- if thrown while opening the file.Method Detail |
---|
public ResourceMapping getResourceMapping()
ResourceMapping
from the file
.
getResourceMapping
in class FreeColDataFile
ResourceMapping
or null
there is no resource mapping file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |