diff options
author | Sven Gothel <[email protected]> | 2013-10-31 07:36:34 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-31 07:36:34 +0100 |
commit | 2a6a6bb1df175847a7bb84bd741ce3632d6590f6 (patch) | |
tree | 5f431b7185c2138014e0d2aefe6fe092a6190a06 /src/java/com/jogamp/common/util/cache/TempJarCache.java | |
parent | 9622dd60d2572257b1497370dad7230898ee592d (diff) |
Bug 754 - JarUtil: Add method to generate resource URI from class's Jar URI and resource name (Remove Ubuntu fonts from jogl-all.jar, provide it separately to reduce footprint for the masses.)
Diffstat (limited to 'src/java/com/jogamp/common/util/cache/TempJarCache.java')
-rw-r--r-- | src/java/com/jogamp/common/util/cache/TempJarCache.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/util/cache/TempJarCache.java b/src/java/com/jogamp/common/util/cache/TempJarCache.java index c127314..99bb272 100644 --- a/src/java/com/jogamp/common/util/cache/TempJarCache.java +++ b/src/java/com/jogamp/common/util/cache/TempJarCache.java @@ -397,6 +397,7 @@ public class TempJarCache { return null; } */ + /** Similar to {@link ClassLoader#getResource(String)}. */ public synchronized static final String findResource(String name) { checkInitialized(); final File f = new File(tmpFileCache.getTempDir(), name); @@ -406,6 +407,7 @@ public class TempJarCache { return null; } + /** Similar to {@link ClassLoader#getResource(String)}. */ public synchronized static final URI getResource(String name) throws URISyntaxException { checkInitialized(); final File f = new File(tmpFileCache.getTempDir(), name); |