net.sf.freecol.common.io
Class FreeColModFile.ModInfo

java.lang.Object
  extended by net.sf.freecol.common.io.FreeColModFile.ModInfo
Enclosing class:
FreeColModFile

public static class FreeColModFile.ModInfo
extends java.lang.Object


Field Summary
private  java.lang.String id
           
 
Constructor Summary
private FreeColModFile.ModInfo(java.lang.String id)
           
 
Method Summary
 java.lang.String getId()
          Gets the ID of this mod.
 java.lang.String getName()
          Gets the name of this mod.
 java.lang.String getShortDescription()
          Gets a short description of this mod.
 java.lang.String toString()
          Gets the name of this mod.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private final java.lang.String id
Constructor Detail

FreeColModFile.ModInfo

private FreeColModFile.ModInfo(java.lang.String id)
Method Detail

getId

public java.lang.String getId()
Gets the ID of this mod.

Returns:
The ID of the mod.

getName

public java.lang.String getName()
Gets the name of this mod.


getShortDescription

public java.lang.String getShortDescription()
Gets a short description of this mod.


toString

public java.lang.String toString()
Gets the name of this mod.

Overrides:
toString in class java.lang.Object
Returns:
The same as getName().