|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.univ.paris5.GameOfLife.Util
public class Util
The method tools for Game of life.
Constructor Summary | |
---|---|
Util()
Create a instance the Util. |
Method Summary | |
---|---|
static void |
addShapeToFile(Shape oneShape,
org.w3c.dom.Node node,
org.w3c.dom.Document doc)
Save the Node. |
static int |
getNombreNeighbor(int loop)
Calcul the numbre neighbor with loop. |
static java.util.Vector |
getShape(java.lang.String filePath)
Get the shape from to a file xml. |
static void |
saveShape(Shape shape,
java.lang.String filePath)
Save the shape to the file xml. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static int getNombreNeighbor(int loop)
loop
-
public static void saveShape(Shape shape, java.lang.String filePath) throws java.lang.Exception
shape
- filePath
-
java.lang.Exception
public static void addShapeToFile(Shape oneShape, org.w3c.dom.Node node, org.w3c.dom.Document doc) throws java.lang.Exception
oneShape
- node
- doc
-
java.lang.Exception
public static java.util.Vector getShape(java.lang.String filePath) throws java.lang.Exception
filePath
-
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |