Package unibg.overencrypt.core

Examples of unibg.overencrypt.core.FileUtility


   * @param ownerPath the owner path
   * @return the folder id in database
   */
  public static String putFolder(String path, String owner, String ownerPath) {
    String folderIdDB = null;
    fileUtility = new FileUtility();
    try {
      folderIdDB = fileUtility.putFileDataDB(ownerPath);
    } catch (SQLException sqlException) {
      LOGGER.debug(sqlException.getMessage());
    }
View Full Code Here


      LOGGER.error("Error while retrieving user file infos' from DB - " + e.getMessage());
    }
    LOGGER.debug("user logged file info: " + jsonUserFileInfos);

    //Retrieve userLogged friends files info
    FileUtility fileUtility = new FileUtility();
    JSONObject friendsInfos = null;
    try {
      friendsInfos = fileUtility.getFriends(userLoggedId);
    } catch (SQLException e) {
      LOGGER.error("SQL Exception while retrievig user's friends infos - " + e.getMessage());
    } catch (JSONException e) {
      LOGGER.error("JSON Exception while retrievig user's friends infos - " + e.getMessage());
    }
View Full Code Here

      String path = file.getParent();
      LOGGER.debug("path: " + path);
      LOGGER.debug("User logged id: " + userLoggedId);

      //Retrieve userLogged friends files info
      FileUtility fileUtility = new FileUtility();
      JSONObject friendsInfos = null;
      try {
        friendsInfos = fileUtility.getFriends(userLoggedId);
      } catch (SQLException e) {
        LOGGER.error("SQL Exception while retrievig user's friends infos - " + e.getMessage());
      } catch (JSONException e) {
        LOGGER.error("JSON Exception while retrievig user's friends infos - " + e.getMessage());
      }
View Full Code Here

TOP

Related Classes of unibg.overencrypt.core.FileUtility

Copyright © 2018 www.massapicom. 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.