aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util/texture/TextureIO.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-08-18 18:53:41 +0200
committerSven Gothel <[email protected]>2015-08-18 18:53:41 +0200
commit3e8ef0ae4305fede0f1ddac2fee476c76c5a25a3 (patch)
treef1c096444918f283b255a50bc4218add514217d1 /src/jogl/classes/com/jogamp/opengl/util/texture/TextureIO.java
parenta836175ecf20aaf71cd53f1cb79c6f68a2f87e2a (diff)
Bug 1042: ImageIOUtil: Use unique public static final const String identifiers
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/texture/TextureIO.java')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/texture/TextureIO.java60
1 files changed, 40 insertions, 20 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/texture/TextureIO.java b/src/jogl/classes/com/jogamp/opengl/util/texture/TextureIO.java
index 80b195642..ef4cc4409 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/texture/TextureIO.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/texture/TextureIO.java
@@ -134,44 +134,64 @@ import com.jogamp.opengl.util.texture.spi.TextureWriter;
public class TextureIO {
/** Constant which can be used as a file suffix to indicate a
- DirectDraw Surface file. */
- public static final String DDS = "dds";
+ DirectDraw Surface file.
+ @deprecated Use {@link ImageIOUtil#T_DDS}.
+ */
+ public static final String DDS = ImageIOUtil.T_DDS;
/** Constant which can be used as a file suffix to indicate an SGI
- RGB file. */
- public static final String SGI = "sgi";
+ RGB file.
+ @deprecated Use {@link ImageIOUtil#T_SGI}.
+ */
+ public static final String SGI = ImageIOUtil.T_SGI;
/** Constant which can be used as a file suffix to indicate an SGI
- RGB file. */
- public static final String SGI_RGB = "rgb";
+ RGB file.
+ @deprecated Use {@link ImageIOUtil#T_SGI_RGB}.
+ */
+ public static final String SGI_RGB = ImageIOUtil.T_SGI_RGB;
/** Constant which can be used as a file suffix to indicate a GIF
- file. */
- public static final String GIF = "gif";
+ file.
+ @deprecated Use {@link ImageIOUtil#T_GIF}.
+ */
+ public static final String GIF = ImageIOUtil.T_GIF;
/** Constant which can be used as a file suffix to indicate a JPEG
- file. */
- public static final String JPG = "jpg";
+ file.
+ @deprecated Use {@link ImageIOUtil#T_JPG}.
+ */
+ public static final String JPG = ImageIOUtil.T_JPG;
/** Constant which can be used as a file suffix to indicate a PNG
- file. */
- public static final String PNG = "png";
+ file.
+ @deprecated Use {@link ImageIOUtil#T_PNG}.
+ */
+ public static final String PNG = ImageIOUtil.T_PNG;
/** Constant which can be used as a file suffix to indicate a Targa
- file. */
- public static final String TGA = "tga";
+ file.
+ @deprecated Use {@link ImageIOUtil#T_TGA}.
+ */
+ public static final String TGA = ImageIOUtil.T_TGA;
/** Constant which can be used as a file suffix to indicate a TIFF
- file. */
- public static final String TIFF = "tiff";
+ file.
+ @deprecated Use {@link ImageIOUtil#T_TIFF}.
+ */
+ public static final String TIFF = ImageIOUtil.T_TIFF;
/** Constant which can be used as a file suffix to indicate a PAM
- file, NetPbm magic 7 - binary RGB and RGBA. Write support only. */
- public static final String PAM = "pam";
+ file, NetPbm magic 7 - binary RGB and RGBA. Write support only.
+ @deprecated Use {@link ImageIOUtil#T_PAM}.
+ */
+ public static final String PAM = ImageIOUtil.T_PAM;
/** Constant which can be used as a file suffix to indicate a PAM
- file, NetPbm magic 6 - binary RGB. Write support only. */
- public static final String PPM = "ppm";
+ file, NetPbm magic 6 - binary RGB. Write support only.
+ @deprecated Use {@link ImageIOUtil#T_PPM}.
+ */
+ public static final String PPM = ImageIOUtil.T_PPM;
private static final boolean DEBUG = Debug.debug("TextureIO");