diff options
author | Sven Gothel <[email protected]> | 2012-03-17 21:21:26 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-03-17 21:21:26 +0100 |
commit | 4c5d6c1b5570fe1ba2cfbbed46259f0a21534ff5 (patch) | |
tree | 1b8f5674d17033591922064df1979cd00e945661 /src/jogl/classes/com/jogamp/graph | |
parent | b048c2458b53eb012d15e21dde9e8ec0b1406d0b (diff) |
Adapt to GlueGen IO resource changes URL -> URLConnection for effeciency; API doc enhancements; Minor edits
- API doc added/enhanced:
- ShaderCode
- ShaderUtil
- NewtBaseActivity: Clarify method / var names
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/font/FontFactory.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java index 586bdd919..33d487355 100644 --- a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java +++ b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java @@ -29,7 +29,7 @@ package com.jogamp.graph.font; import java.io.File; import java.io.IOException; -import java.net.URL; +import java.net.URLConnection; import com.jogamp.common.util.PropertyAccess; import com.jogamp.common.util.ReflectionUtil; @@ -78,8 +78,8 @@ public class FontFactory { return fontConstr.create(file); } - public static final Font get(final URL url) throws IOException { - return fontConstr.create(url); + public static final Font get(final URLConnection conn) throws IOException { + return fontConstr.create(conn); } public static boolean isPrintableChar( char c ) { |