Java Resource Get getResource(String name)

Here you can find the source of getResource(String name)

Description

get Resource

License

Open Source License

Declaration

private static URL getResource(String name) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.net.URL;

public class Main {
    private static URL getResource(String name) {
        return Thread.currentThread().getContextClassLoader().getResource(name);
    }//from  w  w  w .java 2  s  .c o  m
}

Related

  1. getResource(String filename)
  2. getResource(String folder, String name)
  3. getResource(String inResource)
  4. getResource(String key, String bundleName, Locale locale)
  5. getResource(String name)
  6. getResource(String name)
  7. getResource(String name)
  8. getResource(String name)
  9. getResource(String name)