/** * 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"); }
protected void computeObjectSize(Object o) { try { objectSize = XXLSystem.getObjectSize(o); } catch (IllegalAccessException e) { objectSize = MemoryMonitorable.SIZE_UNKNOWN; } checkObjectSize = false; }
/** * 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"); }