net.sf.freecol.common.io
Class Mods

java.lang.Object
  extended by net.sf.freecol.common.io.Mods

public class Mods
extends java.lang.Object

Contains methods for getting a list of available mods.


Field Summary
static java.io.FileFilter MOD_FILTER
           
 
Constructor Summary
Mods()
           
 
Method Summary
static java.util.List<FreeColModFile.ModInfo> getModInfos()
          Gets info about all available mods.
static java.util.List<FreeColModFile> getMods()
          Gets all available mods.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOD_FILTER

public static final java.io.FileFilter MOD_FILTER
Constructor Detail

Mods

public Mods()
Method Detail

getMods

public static java.util.List<FreeColModFile> getMods()
Gets all available mods.

Returns:
A list of mods.

getModInfos

public static java.util.List<FreeColModFile.ModInfo> getModInfos()
Gets info about all available mods.

Returns:
A list of objects describing available mods.