Class TextureProvider
java.lang.Object
pro.gravit.launchserver.auth.texture.TextureProvider
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
JsonTextureProvider,NullTextureProvider,RequestTextureProvider,VoidTextureProvider
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()abstract pro.gravit.launcher.profiles.TexturegetCloakTexture(UUID uuid, String username, String client) abstract pro.gravit.launcher.profiles.TexturegetSkinTexture(UUID uuid, String username, String client) getTextures(UUID uuid, String username, String client) static void
-
Field Details
-
providers
-
-
Constructor Details
-
TextureProvider
public TextureProvider()
-
-
Method Details
-
registerProviders
public static void registerProviders() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
getCloakTexture
public abstract pro.gravit.launcher.profiles.Texture getCloakTexture(UUID uuid, String username, String client) throws IOException - Throws:
IOException
-
getSkinTexture
public abstract pro.gravit.launcher.profiles.Texture getSkinTexture(UUID uuid, String username, String client) throws IOException - Throws:
IOException
-
getTextures
-