|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.common.io.FreeColDataFile
public class FreeColDataFile
Support for reading a FreeCol data file. The data file is either a ZIP-file or a directory containing certain files.
Constructor Summary | |
---|---|
FreeColDataFile(java.io.File file)
Opens the given file for reading. |
Method Summary | |
---|---|
java.io.FileFilter |
getFileFilter()
Returns a FileFilter . |
ResourceMapping |
getResourceMapping()
Creates a ResourceMapping from the file
. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FreeColDataFile(java.io.File file)
file
- The file to be read.Method Detail |
---|
public ResourceMapping getResourceMapping()
ResourceMapping
from the file
.
ResourceMapping
or null
there is no resource mapping file.public java.io.FileFilter getFileFilter()
FileFilter
.
FileFilter
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |