Example #1
0
 /**
  * Returns the relational data path. The returned path contains a file separator at the end.
  *
  * @return String - the data path to relational sample files
  */
 public static String getRelationalDataPath() {
   return XXLSystem.getRootPath()
       + System.getProperty("file.separator")
       + "data"
       + System.getProperty("file.separator")
       + "relational"
       + System.getProperty("file.separator");
 }
Example #2
0
 protected void computeObjectSize(Object o) {
   try {
     objectSize = XXLSystem.getObjectSize(o);
   } catch (IllegalAccessException e) {
     objectSize = MemoryMonitorable.SIZE_UNKNOWN;
   }
   checkObjectSize = false;
 }
Example #3
0
 /**
  * Constructs the output directory and returns the path. The returned path contains a file
  * separator at the end.
  *
  * @return String - the OutPath
  */
 public static String getOutPath() {
   String path =
       XXLSystem.getOutPath()
           + System.getProperty("file.separator")
           + "output"
           + System.getProperty("file.separator")
           + "applications"
           + System.getProperty("file.separator")
           + "io";
   File f = new File(path);
   f.mkdirs();
   return path + System.getProperty("file.separator");
 }