Class TextureProvider
- java.lang.Object
-
- pro.gravit.launchserver.auth.texture.TextureProvider
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Direct Known Subclasses:
NullTextureProvider,RequestTextureProvider,VoidTextureProvider
public abstract class TextureProvider extends java.lang.Object implements java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description static pro.gravit.utils.ProviderMap<TextureProvider>providers
-
Constructor Summary
Constructors Constructor Description TextureProvider()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidclose()abstract pro.gravit.launcher.profiles.TexturegetCloakTexture(java.util.UUID uuid, java.lang.String username, java.lang.String client)abstract pro.gravit.launcher.profiles.TexturegetSkinTexture(java.util.UUID uuid, java.lang.String username, java.lang.String client)static voidregisterProviders()
-
-
-
Field Detail
-
providers
public static final pro.gravit.utils.ProviderMap<TextureProvider> providers
-
-
Method Detail
-
registerProviders
public static void registerProviders()
-
close
public abstract void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.io.IOException
-
getCloakTexture
public abstract pro.gravit.launcher.profiles.Texture getCloakTexture(java.util.UUID uuid, java.lang.String username, java.lang.String client) throws java.io.IOException- Throws:
java.io.IOException
-
getSkinTexture
public abstract pro.gravit.launcher.profiles.Texture getSkinTexture(java.util.UUID uuid, java.lang.String username, java.lang.String client) throws java.io.IOException- Throws:
java.io.IOException
-
-