Java Resource Load getResourcePath()

Here you can find the source of getResourcePath()

Description

get Resource Path

License

Apache License

Declaration

public static String getResourcePath() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.io.File;

public class Main {
    public static String getResourcePath() {
        return getHome() + File.separator + "resource\\";
    }/*from  www  . ja v  a2s .c o m*/

    public static String getHome() {
        return System.getProperty("user.dir");
    }
}

Related

  1. getResourceListing(URL pathUrl, String prefix, String suffix)
  2. getResourceNameFromFileName(final String pFileName)
  3. getResourceNames(File dir)
  4. getResourceNames(String resName)
  5. getResourceNamesFromDir(File dir, String extension)
  6. getResourcePath(Class c, String name)
  7. getResourceReader(final String aResName)
  8. getResources(File root, File path, Vector result)
  9. getResources(final Pattern pattern)