diff options
Diffstat (limited to 'src/java/com/jogamp/common/util/IOUtil.java')
-rw-r--r-- | src/java/com/jogamp/common/util/IOUtil.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/java/com/jogamp/common/util/IOUtil.java b/src/java/com/jogamp/common/util/IOUtil.java index 653520d..517c21c 100644 --- a/src/java/com/jogamp/common/util/IOUtil.java +++ b/src/java/com/jogamp/common/util/IOUtil.java @@ -454,14 +454,6 @@ public class IOUtil { public final int resourceCount() { return resourcePaths.length; } /** - * @param contextCL class instance to {@link #resolve(int)} {@link #resourcePaths}. - * @param resourcePaths array of strings denominating multiple resource paths. None shall be null. - * @deprecated Use {@link #IOUtil(String[], ClassLoader, Class)} for clarity! - */ - public ClassResources(final Class<?> contextCL, final String[] resourcePaths) { - this(resourcePaths, contextCL.getClassLoader(), contextCL); - } - /** * @param resourcePaths multiple relative or absolute resource locations * @param classLoader optional {@link ClassLoader}, see {@link IOUtil#getResource(String, ClassLoader, Class)} * @param relContext optional relative context, see {@link IOUtil#getResource(String, ClassLoader, Class)} @@ -490,30 +482,6 @@ public class IOUtil { /** * Locating a resource using {@link #getResource(String, ClassLoader)}: * <ul> - * <li><i>relative</i>: <code>context</code>'s package name-path plus <code>resourcePath</code> via <code>context</code>'s ClassLoader. - * This allows locations relative to JAR- and other URLs. - * The <code>resourcePath</code> may start with <code>../</code> to navigate to parent folder. - * This attempt is skipped if {@code context} is {@code null}.</li> - * <li><i>absolute</i>: <code>resourcePath</code> as is via <code>context</code>'s ClassLoader. - * In case {@code context} is {@code null}, this class {@link ClassLoader} is being used.</li> - * </ul> - * <p> - * Returns the resolved and open URLConnection or null if not found. - * </p> - * - * @see #getResource(String, ClassLoader) - * @see ClassLoader#getResource(String) - * @see ClassLoader#getSystemResource(String) - * @deprecated Use {@link IOUtil#getResource(String, ClassLoader, Class)} for clarity! - */ - public static URLConnection getResource(final Class<?> context, final String resourcePath) { - final ClassLoader contextCL = null != context ? context.getClassLoader() : IOUtil.class.getClassLoader(); - return getResource(resourcePath, contextCL, context); - } - - /** - * Locating a resource using {@link #getResource(String, ClassLoader)}: - * <ul> * <li><i>relative</i>: <code>relContext</code>'s package name-path plus <code>resourcePath</code> via <code>classLoader</code>. * This allows locations relative to JAR- and other URLs. * The <code>resourcePath</code> may start with <code>../</code> to navigate to parent folder. |