Here you can find the source of getDataPath(String filename)
private static Path getDataPath(String filename)
//package com.java2s; //License from project: Open Source License import java.nio.file.Path; import java.nio.file.Paths; public class Main { private static Path getDataPath(String filename) { return Paths.get("data", filename); }//ww w .ja va 2 s . c om }