es.ucm.look.locationProviderWifi.wifi
Class Lugares

java.lang.Object
  extended by es.ucm.look.locationProviderWifi.wifi.Lugares

public class Lugares
extends java.lang.Object

Loads the nodes information file and provides fast access to its data.


Field Summary
static java.lang.String FICHERO_LUGARES
          Nodes information file.
 
Method Summary
static Lugares getInstance()
          Returns the instance of the object.
 Lugar getLugar(int nodo)
          gets node information by id nunmber.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FICHERO_LUGARES

public static final java.lang.String FICHERO_LUGARES
Nodes information file.

See Also:
Constant Field Values
Method Detail

getInstance

public static Lugares getInstance()
Returns the instance of the object.

Returns:
instance if the object

getLugar

public Lugar getLugar(int nodo)
gets node information by id nunmber.

Parameters:
nodo - id number of the node
Returns:
Node information contained in the file.