PluginHelperImpl
public interface PluginHelper
Modifier and Type | Method | Description |
---|---|---|
PluginContainerImpl |
getContainer() |
|
java.util.Optional<byte[]> |
getResourceBytes(java.lang.String filePath) |
|
java.util.Optional<java.awt.image.BufferedImage> |
getResourceImage(java.lang.String filePath) |
|
java.io.OutputStream |
getResourceOutputStream(java.lang.String filePath) |
|
java.util.Optional<java.io.InputStream> |
getResourceStream(java.lang.String filePath) |
|
void |
registerEventClass(java.lang.Object classInstance) |
|
void |
registerOverlay(Overlay overlay) |
|
void |
registerSettingsSection(SettingsSection settingsSection) |
PluginContainerImpl getContainer()
java.util.Optional<java.io.InputStream> getResourceStream(java.lang.String filePath) throws java.io.IOException
java.io.IOException
java.util.Optional<byte[]> getResourceBytes(java.lang.String filePath) throws java.io.IOException
java.io.IOException
java.util.Optional<java.awt.image.BufferedImage> getResourceImage(java.lang.String filePath) throws java.io.IOException
java.io.IOException
java.io.OutputStream getResourceOutputStream(java.lang.String filePath) throws java.io.IOException
java.io.IOException
void registerEventClass(java.lang.Object classInstance)
void registerOverlay(Overlay overlay)
void registerSettingsSection(SettingsSection settingsSection)