Class ImageType

java.lang.Object
com.jogamp.opengl.util.texture.ImageType

public class ImageType extends Object
Image type classification.

Allows to classify the ImageType of an InputStream via ImageType(InputStream) or to simply define one ImageType via ImageType(String).

Since:
2.3.2
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Static utility functions for ImageType to determine the type.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final byte[]
    The optionally read header of size MAGIC_MAX_SIZE bytes as used to determine the type, i.e.
    static final int
    Minimum number of bytes to determine the image data type, i.e.
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "3d2".
    static final String
    Constant which can be used as a file suffix to indicate an Apple QuickDraw 3D 3DMF stream, value "3dmf".
    static final String
    Constant which can be used as a file suffix to indicate a Texas Instruments TI-92 Bitmap stream, value "92i".
    static final String
    Constant which can be used as a file suffix to indicate an Amiga metafile stream, value "amff".
    static final String
    Constant which can be used as a file suffix to indicate an America Online Art stream, value "art".
    static final String
    Constant which can be used as a file suffix to indicate a GIF stream, value "bmp".
    static final String
    Constant which can be used as a file suffix to indicate a United States Department of Defence Continuous Acquisition and Life-cycle Support Raster stream, value "cals".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "cam".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "cbd".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "ce2".
    static final String
    Constant which can be used as a file suffix to indicate a Kodak Cineon System stream, value "cin".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "cob".
    static final String
    Constant which can be used as a file suffix to indicate a Corel Photo Paint stream, value "cpt".
    static final String
    Constant which can be used as a file suffix to indicate a Microsoft Windows Cursor stream, value "cur".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "cvg".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "dcx".
    static final String
    Constant which can be used as a file suffix to indicate a DirectDraw Surface stream, value "dds".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "dem".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "dib".
    static final String
    Constant which can be used as a file suffix to indicate a Digital Picture Exchange stream, value "dpx".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "drw".
    static final String
    Constant which can be used as a file suffix to indicate a Autocad drawing stream, value "dwg".
    static final String
    Constant which can be used as a file suffix to indicate a Hexagon Geospatial Enhanced Compression Wavelet stream, value "ecw".
    static final String
    Constant which can be used as a file suffix to indicate a Microsoft Windows Enhanced metafile stream, value "emf".
    static final String
    Constant which can be used as a file suffix to indicate a FlashPix stream, value "fpx".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "fts".
    static final String
    Constant which can be used as a file suffix to indicate a GIF stream, value "gif".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "gro".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "hdr".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "hru".
    static final String
    Constant which can be used as a file suffix to indicate an Apple Icon Image stream, value "icns".
    static final String
    Constant which can be used as a file suffix to indicate a Microsoft Windows Icon stream, value "ico".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "img".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "infini-d".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "iwc".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "j6i".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "jif".
    static final String
    Constant which can be used as a file suffix to indicate a JPEG-2000 stream, value "jp2".
    static final String
    Constant which can be used as a file suffix to indicate a JPEG stream, value "jpg".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "kdc".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "l64".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "lbm".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "ldf".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "lwf".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "mbm".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "mgl".
    static final String
    Constant which can be used as a file suffix to indicate an Imagemagick stream, value "mif".
    static final String
    Constant which can be used as a file suffix to indicate a Multiple-image Network Graphics stream, value "mng".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "mpw".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "msp".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "n64".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "ncr".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "nff".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "ngg".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "nlm".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "nol".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "pal".
    static final String
    Constant which can be used as a file suffix to indicate a Portable Arbitrary Map stream, NetPbm magic 7 - binary RGB and RGBA.
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "pax".
    static final String
    Constant which can be used as a file suffix to indicate a PGM stream, NetPbm magic 4 - binary monochrome.
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "pcd".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "pcl".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "pcx".
    static final String
    Constant which can be used as a file suffix to indicate a PGM stream, NetPbm magic 5 - binary grayscale.
    static final String
    Constant which can be used as a file suffix to indicate a Softimage pic stream, value "pic".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "pix".
    static final String
    Constant which can be used as a file suffix to indicate a PNG stream, value "png".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "pol".
    static final String
    Constant which can be used as a file suffix to indicate a PAM stream, NetPbm magic 6 - binary RGB.
    static final String
    Constant which can be used as a file suffix to indicate a Adobe PhotoShop stream, value "psd".
    static final String
    Constant which can be used as a file suffix to indicate a PaintShop Pro stream, value "psp".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "qfx".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "qtm".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "rad".
    static final String
    Constant which can be used as a file suffix to indicate a Sun Raster stream, value "ras".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "rix".
    static final String
    Constant which can be used as a file suffix to indicate an SGI RGB stream, value "rgb".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "sid".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "sld".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "sod".
    static final String
    Constant which can be used as a file suffix to indicate a Targa stream, value "tga".
    static final String
    Constant which can be used as a file suffix to indicate a TIFF stream, value "tiff".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "wic".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "wlm".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "wmf".
    static final String
    Constant which can be used as a file suffix to indicate a Wordperfect Graphics vectors stream, value "wpg".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "wrl".
    static final String
    Constant which can be used as a file suffix to indicate a TBD stream, value "xbm".
    static final String
    Constant which can be used as a file suffix to indicate a X PixMap stream, value "xpm".
    final String
    The determined unique type, e.g.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates instance based on given stream.
    Creates instance based on the given type.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    final int
     
    final boolean
    Returns true if type is determined, i.e.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • MAGIC_MAX_SIZE

      public static final int MAGIC_MAX_SIZE
      Minimum number of bytes to determine the image data type, i.e. 25 bytes.
      See Also:
    • T_JPG

      public static final String T_JPG
      Constant which can be used as a file suffix to indicate a JPEG stream, value "jpg".
      • http://www.faqs.org/faqs/jpeg-faq/part1/
      • http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=54989
      See Also:
    • T_PNG

      public static final String T_PNG
      Constant which can be used as a file suffix to indicate a PNG stream, value "png".
      • http://www.libpng.org/pub/png/spec/1.1/PNG-Rationale.html#R.PNG-file-signature
      See Also:
    • T_ICNS

      public static final String T_ICNS
      Constant which can be used as a file suffix to indicate an Apple Icon Image stream, value "icns".

      'i' 'c' 'n' 's' ascii code

      • TODO
      See Also:
    • T_ICO

      public static final String T_ICO
      Constant which can be used as a file suffix to indicate a Microsoft Windows Icon stream, value "ico".

      TODO

      • https://msdn.microsoft.com/en-us/library/ms997538.aspx
      See Also:
    • T_CUR

      public static final String T_CUR
      Constant which can be used as a file suffix to indicate a Microsoft Windows Cursor stream, value "cur".

      TODO

      • TODO
      See Also:
    • T_GIF

      public static final String T_GIF
      Constant which can be used as a file suffix to indicate a GIF stream, value "gif".

      GIF87A or GIF89A ascii code

      • http://www.w3.org/Graphics/GIF/spec-gif87a.txt http://www.w3.org/Graphics/GIF/spec-gif89a.txt
      See Also:
    • T_BMP

      public static final String T_BMP
      Constant which can be used as a file suffix to indicate a GIF stream, value "bmp".

      BM ascii code

      FIXME: Collision or supertype of T_DIB?

      • http://www.fileformat.info/format/bmp/spec/e27073c25463436f8a64fa789c886d9c/view.htm
      See Also:
    • T_DIB

      public static final String T_DIB
      Constant which can be used as a file suffix to indicate a TBD stream, value "dib".

      FIXME: Collision or subtype of T_BMP?

      • TODO
      See Also:
    • T_DCX

      public static final String T_DCX
      Constant which can be used as a file suffix to indicate a TBD stream, value "dcx".

      TODO

      • TODO
      See Also:
    • T_PCX

      public static final String T_PCX
      Constant which can be used as a file suffix to indicate a TBD stream, value "pcx".

      TODO

      • TODO
      See Also:
    • T_PPM

      public static final String T_PPM
      Constant which can be used as a file suffix to indicate a PAM stream, NetPbm magic 6 - binary RGB.
      • http://netpbm.sourceforge.net/doc/ppm.html
      See Also:
    • T_PSD

      public static final String T_PSD
      Constant which can be used as a file suffix to indicate a Adobe PhotoShop stream, value "psd".

      TODO

      • TODO
      See Also:
    • T_TIFF

      public static final String T_TIFF
      Constant which can be used as a file suffix to indicate a TIFF stream, value "tiff".

      Intentionally detects only the little endian tiff images ("II" in the spec).

      FIXME: Collision or supertype of T_LDF?

      • http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf
      See Also:
    • T_LDF

      public static final String T_LDF
      Constant which can be used as a file suffix to indicate a TBD stream, value "ldf".

      FIXME: Collision or subtype of T_TIFF?

      • TODO
      See Also:
    • T_SGI_RGB

      public static final String T_SGI_RGB
      Constant which can be used as a file suffix to indicate an SGI RGB stream, value "rgb".

      "474 saved as a short" 474 = 0x01DA

      • http://paulbourke.net/dataformats/sgirgb/sgiversion.html
      See Also:
    • T_DDS

      public static final String T_DDS
      Constant which can be used as a file suffix to indicate a DirectDraw Surface stream, value "dds".

      'D' 'D' 'S' ' ' ascii code

      • https://msdn.microsoft.com/en-us/library/windows/desktop/bb943991%28v=vs.85%29.aspx#File_Layout1
      See Also:
    • T_PAM

      public static final String T_PAM
      Constant which can be used as a file suffix to indicate a Portable Arbitrary Map stream, NetPbm magic 7 - binary RGB and RGBA.
      • http://netpbm.sourceforge.net/doc/pam.html
      See Also:
    • T_PGM

      public static final String T_PGM
      Constant which can be used as a file suffix to indicate a PGM stream, NetPbm magic 5 - binary grayscale.
      • http://netpbm.sourceforge.net/doc/pgm.html
      See Also:
    • T_PBM

      public static final String T_PBM
      Constant which can be used as a file suffix to indicate a PGM stream, NetPbm magic 4 - binary monochrome.
      • http://netpbm.sourceforge.net/doc/pbm.html
      See Also:
    • T_3D2

      public static final String T_3D2
      Constant which can be used as a file suffix to indicate a TBD stream, value "3d2".

      TODO

      • TODO
      See Also:
    • T_3DMF

      public static final String T_3DMF
      Constant which can be used as a file suffix to indicate an Apple QuickDraw 3D 3DMF stream, value "3dmf".

      TODO

      • TODO
      See Also:
    • T_92I

      public static final String T_92I
      Constant which can be used as a file suffix to indicate a Texas Instruments TI-92 Bitmap stream, value "92i".

      TODO

      • TODO
      See Also:
    • T_AMFF

      public static final String T_AMFF
      Constant which can be used as a file suffix to indicate an Amiga metafile stream, value "amff".

      TODO

      • TODO
      See Also:
    • T_ART

      public static final String T_ART
      Constant which can be used as a file suffix to indicate an America Online Art stream, value "art".

      TODO

      • TODO
      See Also:
    • T_CALS

      public static final String T_CALS
      Constant which can be used as a file suffix to indicate a United States Department of Defence Continuous Acquisition and Life-cycle Support Raster stream, value "cals".

      TODO

      • http://www.fileformat.info/format/cals/egff.htm
      See Also:
    • T_CAM

      public static final String T_CAM
      Constant which can be used as a file suffix to indicate a TBD stream, value "cam".

      TODO

      • TODO
      See Also:
    • T_CBD

      public static final String T_CBD
      Constant which can be used as a file suffix to indicate a TBD stream, value "cbd".

      TODO

      • TODO
      See Also:
    • T_CE2

      public static final String T_CE2
      Constant which can be used as a file suffix to indicate a TBD stream, value "ce2".

      TODO

      • TODO
      See Also:
    • T_CIN

      public static final String T_CIN
      Constant which can be used as a file suffix to indicate a Kodak Cineon System stream, value "cin".

      TODO

      • http://www.cineon.com/ff_draft.php
      See Also:
    • T_COB

      public static final String T_COB
      Constant which can be used as a file suffix to indicate a TBD stream, value "cob".

      TODO

      • TODO
      See Also:
    • T_CPT

      public static final String T_CPT
      Constant which can be used as a file suffix to indicate a Corel Photo Paint stream, value "cpt".

      TODO

      • TODO
      See Also:
    • T_CVG

      public static final String T_CVG
      Constant which can be used as a file suffix to indicate a TBD stream, value "cvg".

      TODO

      • TODO
      See Also:
    • T_DEM

      public static final String T_DEM
      Constant which can be used as a file suffix to indicate a TBD stream, value "dem".

      TODO

      • TODO
      See Also:
    • T_DPX

      public static final String T_DPX
      Constant which can be used as a file suffix to indicate a Digital Picture Exchange stream, value "dpx".

      TODO

      • TODO
      See Also:
    • T_DRW

      public static final String T_DRW
      Constant which can be used as a file suffix to indicate a TBD stream, value "drw".

      TODO

      • TODO
      See Also:
    • T_DWG

      public static final String T_DWG
      Constant which can be used as a file suffix to indicate a Autocad drawing stream, value "dwg".

      TODO

      • TODO
      See Also:
    • T_ECW

      public static final String T_ECW
      Constant which can be used as a file suffix to indicate a Hexagon Geospatial Enhanced Compression Wavelet stream, value "ecw".

      TODO

      • TODO
      See Also:
    • T_EMF

      public static final String T_EMF
      Constant which can be used as a file suffix to indicate a Microsoft Windows Enhanced metafile stream, value "emf".

      TODO

      • TODO
      See Also:
    • T_FPX

      public static final String T_FPX
      Constant which can be used as a file suffix to indicate a FlashPix stream, value "fpx".

      TODO

      • TODO
      See Also:
    • T_FTS

      public static final String T_FTS
      Constant which can be used as a file suffix to indicate a TBD stream, value "fts".

      TODO

      • TODO
      See Also:
    • T_GRO

      public static final String T_GRO
      Constant which can be used as a file suffix to indicate a TBD stream, value "gro".

      TODO

      • TODO
      See Also:
    • T_HDR

      public static final String T_HDR
      Constant which can be used as a file suffix to indicate a TBD stream, value "hdr".

      TODO

      • TODO
      See Also:
    • T_HRU

      public static final String T_HRU
      Constant which can be used as a file suffix to indicate a TBD stream, value "hru".

      TODO

      • TODO
      See Also:
    • T_IMG

      public static final String T_IMG
      Constant which can be used as a file suffix to indicate a TBD stream, value "img".

      TODO

      • TODO
      See Also:
    • T_INFINI_D

      public static final String T_INFINI_D
      Constant which can be used as a file suffix to indicate a TBD stream, value "infini-d".

      TODO

      • TODO
      See Also:
    • T_IWC

      public static final String T_IWC
      Constant which can be used as a file suffix to indicate a TBD stream, value "iwc".

      TODO

      • TODO
      See Also:
    • T_J6I

      public static final String T_J6I
      Constant which can be used as a file suffix to indicate a TBD stream, value "j6i".

      TODO

      • TODO
      See Also:
    • T_JIF

      public static final String T_JIF
      Constant which can be used as a file suffix to indicate a TBD stream, value "jif".

      TODO

      • TODO
      See Also:
    • T_JP2

      public static final String T_JP2
      Constant which can be used as a file suffix to indicate a JPEG-2000 stream, value "jp2".

      TODO

      • TODO
      See Also:
    • T_KDC

      public static final String T_KDC
      Constant which can be used as a file suffix to indicate a TBD stream, value "kdc".

      TODO

      • TODO
      See Also:
    • T_L64

      public static final String T_L64
      Constant which can be used as a file suffix to indicate a TBD stream, value "l64".

      TODO

      • TODO
      See Also:
    • T_LBM

      public static final String T_LBM
      Constant which can be used as a file suffix to indicate a TBD stream, value "lbm".

      FIXME: Collision or supertype of T_RAD?

      • TODO
      See Also:
    • T_RAD

      public static final String T_RAD
      Constant which can be used as a file suffix to indicate a TBD stream, value "rad".

      FIXME: Collision or subtype of T_LBM?

      • TODO
      See Also:
    • T_LWF

      public static final String T_LWF
      Constant which can be used as a file suffix to indicate a TBD stream, value "lwf".

      TODO

      • TODO
      See Also:
    • T_MBM

      public static final String T_MBM
      Constant which can be used as a file suffix to indicate a TBD stream, value "mbm".

      TODO

      • TODO
      See Also:
    • T_MGL

      public static final String T_MGL
      Constant which can be used as a file suffix to indicate a TBD stream, value "mgl".

      TODO

      • TODO
      See Also:
    • T_MIF

      public static final String T_MIF
      Constant which can be used as a file suffix to indicate an Imagemagick stream, value "mif".

      TODO

      • TODO
      See Also:
    • T_MNG

      public static final String T_MNG
      Constant which can be used as a file suffix to indicate a Multiple-image Network Graphics stream, value "mng".

      TODO

      • TODO
      See Also:
    • T_MPW

      public static final String T_MPW
      Constant which can be used as a file suffix to indicate a TBD stream, value "mpw".

      TODO

      • TODO
      See Also:
    • T_MSP

      public static final String T_MSP
      Constant which can be used as a file suffix to indicate a TBD stream, value "msp".

      TODO

      • TODO
      See Also:
    • T_N64

      public static final String T_N64
      Constant which can be used as a file suffix to indicate a TBD stream, value "n64".

      TODO

      • TODO
      See Also:
    • T_NCR

      public static final String T_NCR
      Constant which can be used as a file suffix to indicate a TBD stream, value "ncr".

      TODO

      • TODO
      See Also:
    • T_NFF

      public static final String T_NFF
      Constant which can be used as a file suffix to indicate a TBD stream, value "nff".

      TODO

      • TODO
      See Also:
    • T_NGG

      public static final String T_NGG
      Constant which can be used as a file suffix to indicate a TBD stream, value "ngg".

      TODO

      • TODO
      See Also:
    • T_NLM

      public static final String T_NLM
      Constant which can be used as a file suffix to indicate a TBD stream, value "nlm".

      TODO

      • TODO
      See Also:
    • T_NOL

      public static final String T_NOL
      Constant which can be used as a file suffix to indicate a TBD stream, value "nol".

      TODO

      • TODO
      See Also:
    • T_PAL

      public static final String T_PAL
      Constant which can be used as a file suffix to indicate a TBD stream, value "pal".

      TODO

      • TODO
      See Also:
    • T_PAX

      public static final String T_PAX
      Constant which can be used as a file suffix to indicate a TBD stream, value "pax".

      TODO

      • TODO
      See Also:
    • T_PCD

      public static final String T_PCD
      Constant which can be used as a file suffix to indicate a TBD stream, value "pcd".

      TODO

      • TODO
      See Also:
    • T_PCL

      public static final String T_PCL
      Constant which can be used as a file suffix to indicate a TBD stream, value "pcl".

      TODO

      • TODO
      See Also:
    • T_PIC

      public static final String T_PIC
      Constant which can be used as a file suffix to indicate a Softimage pic stream, value "pic".

      TODO

      • http://paulbourke.net/dataformats/softimagepic/
      See Also:
    • T_PIX

      public static final String T_PIX
      Constant which can be used as a file suffix to indicate a TBD stream, value "pix".

      TODO

      • TODO
      See Also:
    • T_POL

      public static final String T_POL
      Constant which can be used as a file suffix to indicate a TBD stream, value "pol".

      TODO

      • TODO
      See Also:
    • T_PSP

      public static final String T_PSP
      Constant which can be used as a file suffix to indicate a PaintShop Pro stream, value "psp".

      TODO

      • TODO
      See Also:
    • T_QFX

      public static final String T_QFX
      Constant which can be used as a file suffix to indicate a TBD stream, value "qfx".

      TODO

      • TODO
      See Also:
    • T_QTM

      public static final String T_QTM
      Constant which can be used as a file suffix to indicate a TBD stream, value "qtm".

      TODO

      • TODO
      See Also:
    • T_RAS

      public static final String T_RAS
      Constant which can be used as a file suffix to indicate a Sun Raster stream, value "ras".

      TODO

      • TODO
      See Also:
    • T_RIX

      public static final String T_RIX
      Constant which can be used as a file suffix to indicate a TBD stream, value "rix".

      TODO

      • TODO
      See Also:
    • T_SID

      public static final String T_SID
      Constant which can be used as a file suffix to indicate a TBD stream, value "sid".

      TODO

      • TODO
      See Also:
    • T_SLD

      public static final String T_SLD
      Constant which can be used as a file suffix to indicate a TBD stream, value "sld".

      TODO

      • TODO
      See Also:
    • T_SOD

      public static final String T_SOD
      Constant which can be used as a file suffix to indicate a TBD stream, value "sod".

      TODO

      • TODO
      See Also:
    • T_WIC

      public static final String T_WIC
      Constant which can be used as a file suffix to indicate a TBD stream, value "wic".

      TODO

      • TODO
      See Also:
    • T_WLM

      public static final String T_WLM
      Constant which can be used as a file suffix to indicate a TBD stream, value "wlm".

      TODO

      • TODO
      See Also:
    • T_WMF

      public static final String T_WMF
      Constant which can be used as a file suffix to indicate a TBD stream, value "wmf".

      TODO

      • TODO
      See Also:
    • T_WPG

      public static final String T_WPG
      Constant which can be used as a file suffix to indicate a Wordperfect Graphics vectors stream, value "wpg".

      TODO

      • TODO
      See Also:
    • T_WRL

      public static final String T_WRL
      Constant which can be used as a file suffix to indicate a TBD stream, value "wrl".

      TODO

      • TODO
      See Also:
    • T_XBM

      public static final String T_XBM
      Constant which can be used as a file suffix to indicate a TBD stream, value "xbm".

      TODO

      • TODO
      See Also:
    • T_XPM

      public static final String T_XPM
      Constant which can be used as a file suffix to indicate a X PixMap stream, value "xpm".

      TODO

      • TODO
      See Also:
    • T_TGA

      public static final String T_TGA
      Constant which can be used as a file suffix to indicate a Targa stream, value "tga".
      See Also:
    • type

      public final String type
      The determined unique type, e.g. T_PNG, T_JPG, etc.

      Maybe null if undetermined, i.e. isDefined() returns false.

  • Constructor Details

  • Method Details

    • isDefined

      public final boolean isDefined()
      Returns true if type is determined, i.e. not null, otherwise false.
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object