Here you can find the source of getSystemPath(String inPath)
public static String getSystemPath(String inPath) throws Exception
//package com.java2s; //License from project: Open Source License import java.net.URL; public class Main { public static String getSystemPath(String inPath) throws Exception { return getUrl(inPath).toString().replace(getUrl(inPath).getProtocol() + ":/", ""); }/*from w w w . java2 s . c o m*/ public static URL getUrl(String inPath) throws Exception { return new URL(ClassLoader.getSystemResource("") + inPath); } }