Examples of MonitoredDataManager


Examples of it.unina.seclab.jafimon.MonitoredDataManager

      PropertyConfigurator.configure("log4j.properties");
    }

    logger.info("starting execution");

    MonitoredDataManager dMgr = new MonitoredDataManager();
    dMgr.appendDateTimeToName = true;
    MonitoredData mData = new MonitoredData();
    int id = dMgr.newDataCollection("Pippo");
   
    for (int i = 0; i < 10; i++)
      dMgr.appendData(id, mData.setData("Ullalla" + i));
   
    String[] lista = dMgr.getCollectionList();
    for (int i = 0; i < lista.length; i++) {
      logger.trace(lista[i]);
    }
    DataCollection coll = dMgr.getCollection("Pippo-20070117191741");
    String data = coll.getFirstData();
    while (data.length() > 0) {
      System.out.print(data);
      data = coll.getNextData();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.