/** * Returns full path to the file stored in the demo directory of Rrd4j * * @param filename Partial path to the file stored in the demo directory of Rrd4j * (just name and extension, without parent directories) * @return Full path to the file */ public static String getRrd4jDemoPath(String filename) { String demoDir = getRrd4jDemoDirectory(); if (demoDir != null) { return demoDir + filename; } else { return null; } }
/** * Returns full path to the file stored in the demo directory of Rrd4j * * @param filename Partial path to the file stored in the demo directory of Rrd4j * (just name and extension, without parent directories) * @return Full path to the file */ public static String getRrd4jDemoPath(String filename) { String demoDir = getRrd4jDemoDirectory(); if (demoDir != null) { return demoDir + filename; } else { return null; } }