|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.pfc.social.SocialNetwork
public class SocialNetwork
Clase encarregada d'inicialitzar la xarxa social a partir d'un fitxer XML amb la informació dels usuaris i les propietats de la base de dades.
Constructor Summary | |
---|---|
SocialNetwork(InputStream socialNetwork,
InputStream dbPropsIs)
Mètode constructor. |
Method Summary | |
---|---|
void |
close()
Mètode amb el cual es tanca la connexió amb la xarxa social. |
void |
init()
Mètode amb el qual s'inicialitzarà la xarxa social amb les dades contingudes al fixer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocialNetwork(InputStream socialNetwork, InputStream dbPropsIs) throws SocialNetworkException
socialNetwork
- InputStream del fitxer XML que conté la
representació de la xarxa social.dbPropsIs
- InputStream del fitxer de properties que conté les
propietats de la base de dades.
SocialNetworkException
Method Detail |
---|
public void init() throws SocialNetworkException
SocialNetworkException
public void close() throws SocialNetworkException
SocialNetworkException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |