com.io7m.jcanephora.texture_loader.awt

## Class JCGLAWTTextureDataProvider

- java.lang.Object
- - com.io7m.jcanephora.texture_loader.awt.JCGLAWTTextureDataProvider

- All Implemented Interfaces:
    JCGLTLTextureDataProviderType

      public final class JCGLAWTTextureDataProvider
      extends Object
      implements JCGLTLTextureDataProviderType

  An AWT implementation of the `JCGLTLTextureDataProviderType` interface.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JCGLTLTextureDataType` | `loadFromStream(InputStream is)` Load an image from the given stream.
    `static JCGLTLTextureDataProviderType` | `newProvider()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### newProvider

          public static JCGLTLTextureDataProviderType newProvider()

      Returns:
        A new texture data provider

    - #### loadFromStream

          public JCGLTLTextureDataType loadFromStream(InputStream is)
                                               throws IOException

      Description copied from interface: `JCGLTLTextureDataProviderType`
      Load an image from the given stream.
      Specified by:
        `loadFromStream` in interface `JCGLTLTextureDataProviderType`
      Parameters:
        `is` - The stream
      Returns:
        Texture data
      Throws:
        `IOException` - On I/O or decoding errors

Copyright © 2016 <code@io7m.com> http://io7m.com