Package be.seeseemelk.mockbukkit
Class CachedServerIconMock
java.lang.Object
be.seeseemelk.mockbukkit.CachedServerIconMock
- All Implemented Interfaces:
org.bukkit.util.CachedServerIcon
Mock implementation of a
CachedServerIcon.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCachedServerIconMock(@Nullable String data) Constructs a newCachedServerIconMockwith the provided data. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.util.CachedServerIcon
isEmpty
-
Field Details
-
PNG_BASE64_PREFIX
The prefix used for base 64 images.- See Also:
-
-
Constructor Details
-
CachedServerIconMock
Constructs a newCachedServerIconMockwith the provided data.- Parameters:
data- The data to be later retrieved ingetData().
-
-
Method Details
-
getData
- Specified by:
getDatain interfaceorg.bukkit.util.CachedServerIcon
-