Skip navigation links
A C D E F G H I L M N O P R S T U V W 

A

addEventMethod(Method) - Method in class nl.lockhead.lpf.plugins.plugin.PluginContainer
 
addHandler(Handler) - Method in class nl.lockhead.lpf.logging.LPFLogger
 
addHandlerToAll(Handler) - Static method in class nl.lockhead.lpf.logging.LPFLogger
 
addMetadata(String, Object) - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
AsyncURLPluginLoader - Class in nl.lockhead.lpf.plugins.loaders.impl
 
AsyncURLPluginLoader(List<URL>, URL...) - Constructor for class nl.lockhead.lpf.plugins.loaders.impl.AsyncURLPluginLoader
 

C

Cancellable - Interface in nl.lockhead.lpf.events
 
classloaderUrls - Variable in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 
COLOR - Static variable in class nl.lockhead.lpf.tools.Matching
 
copy(File, File) - Static method in class nl.lockhead.lpf.tools.FileManager
 
createConfig(String, String, Version) - Static method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
Generate a PluginConfig with the following values.
createConfig(String, String, Version, boolean) - Static method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
Generate a PluginConfig with the following values.

D

delete(File) - Static method in class nl.lockhead.lpf.tools.FileManager
 
deleteDirectory(File) - Static method in class nl.lockhead.lpf.tools.FileManager
 
deleteDirectoryAndSubs(File) - Static method in class nl.lockhead.lpf.tools.FileManager
 
disable() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Disable this plugin, removing any registered event listeners.
disablePlugin() - Method in class nl.lockhead.lpf.plugins.plugin.PluginContainer
Attempt to disable this plugin.
disablePlugins() - Method in class nl.lockhead.lpf.plugins.PluginManager
Disable all loaded plugins.
download(URL, File) - Static method in class nl.lockhead.lpf.tools.FileManager
 

E

enable() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Enable this plugin, registering its event listeners.
enablePlugin() - Method in class nl.lockhead.lpf.plugins.plugin.PluginContainer
Attempt to enable this plugin.
enablePlugins() - Method in class nl.lockhead.lpf.plugins.PluginManager
Enable all loaded plugins.

F

FileManager - Class in nl.lockhead.lpf.tools
 
FilePluginLoader - Class in nl.lockhead.lpf.plugins.loaders.impl
 
FilePluginLoader(List<URL>, File, boolean) - Constructor for class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 
FilePluginLoader.Callback - Interface in nl.lockhead.lpf.plugins.loaders.impl
 

G

get() - Static method in class nl.lockhead.lpf.plugins.PluginManager
 
getAsString() - Method in class nl.lockhead.lpf.plugins.plugin.Version
 
getAuthor() - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
getClassloaderUrls() - Method in class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 
getClassloaderUrls() - Method in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 
getClassloaderUrls() - Method in interface nl.lockhead.lpf.plugins.loaders.IPluginLoader
 
getConfig() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
 
getContainer() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
 
getDateFormat() - Method in class nl.lockhead.lpf.logging.LPFLogger
 
getDefaultHandler() - Static method in class nl.lockhead.lpf.logging.LPFLogger
 
getDirectory() - Method in class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 
getEventMethods() - Method in class nl.lockhead.lpf.plugins.plugin.PluginContainer
 
getExecutor() - Method in class nl.lockhead.lpf.plugins.loaders.impl.AsyncURLPluginLoader
 
getID() - Method in class nl.lockhead.lpf.events.LPFEvent
 
getId() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
 
getLogger(Object) - Static method in class nl.lockhead.lpf.logging.LPFLogger
Creates a new logger instance for the source, or uses an existing one.
Tip: use the annotation LoggerSettings to generate a custom prefix for the source class.
getLogger() - Method in class nl.lockhead.lpf.logging.LPFLogger
 
getLogger() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
 
getLoggers() - Static method in class nl.lockhead.lpf.logging.LPFLogger
 
getLPFEventHandler() - Static method in class nl.lockhead.lpf.events.LPFEventHandler
 
getMajor() - Method in class nl.lockhead.lpf.plugins.plugin.Version
 
getMetadataMap() - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
getMethodsAnnotatedWith(Class<?>, Class<? extends Annotation>) - Static method in class nl.lockhead.lpf.plugins.PluginManager
 
getMinor() - Method in class nl.lockhead.lpf.plugins.plugin.Version
 
getName() - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
getPatch() - Method in class nl.lockhead.lpf.plugins.plugin.Version
 
getPlugin() - Method in class nl.lockhead.lpf.events.builtin.PluginDisableEvent
 
getPlugin() - Method in class nl.lockhead.lpf.events.builtin.PluginEnableEvent
 
getPlugin(URL) - Method in class nl.lockhead.lpf.plugins.loaders.impl.AsyncURLPluginLoader
 
getPlugin(URL) - Method in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
Make a connection to the URLPluginLoader.urls and load the classes from the connection's input stream.
getPlugin() - Method in class nl.lockhead.lpf.plugins.plugin.PluginContainer
 
getPlugins() - Method in class nl.lockhead.lpf.plugins.PluginManager
 
getRegisteredEvents() - Method in class nl.lockhead.lpf.plugins.PluginManager
 
getSource() - Method in class nl.lockhead.lpf.logging.LPFLogger
 
getThisFile() - Static method in class nl.lockhead.lpf.tools.FileManager
 
getType() - Method in class nl.lockhead.lpf.plugins.threads.LPFThread
 
getUrls() - Method in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 
getVersion() - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
getVersion(String) - Static method in class nl.lockhead.lpf.plugins.plugin.Version
 
getWorkingDirectory() - Static method in class nl.lockhead.lpf.tools.FileManager
 

H

handleEvent(LPFEvent) - Method in class nl.lockhead.lpf.events.LPFEventHandler
Handle the given event.

I

info(Object) - Method in class nl.lockhead.lpf.logging.LPFLogger
 
InvalidLPFEventException - Exception in nl.lockhead.lpf.exceptions
 
InvalidLPFEventException(String) - Constructor for exception nl.lockhead.lpf.exceptions.InvalidLPFEventException
 
InvalidLPFEventException(String, Throwable) - Constructor for exception nl.lockhead.lpf.exceptions.InvalidLPFEventException
 
InvalidPluginException - Exception in nl.lockhead.lpf.exceptions
 
InvalidPluginException(String) - Constructor for exception nl.lockhead.lpf.exceptions.InvalidPluginException
 
InvalidPluginException(String, Throwable) - Constructor for exception nl.lockhead.lpf.exceptions.InvalidPluginException
 
IPluginLoader - Interface in nl.lockhead.lpf.plugins.loaders
 
isCancelled() - Method in interface nl.lockhead.lpf.events.Cancellable
 
isEnabled() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
 
isEventsRegistered() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
 
isLoaded() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
 
isRunning() - Method in class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 
isRunning() - Method in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 
isRunning() - Method in interface nl.lockhead.lpf.plugins.loaders.IPluginLoader
 
isSubDirs() - Method in class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 

L

lastFile - Static variable in class nl.lockhead.lpf.tools.FileManager
 
load() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Handle further loading of the plugin, after its classes have been loaded.
loadPlugin(File) - Method in class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 
loadPlugin(Plugin) - Method in class nl.lockhead.lpf.plugins.plugin.PluginContainer
Attempt to load this plugin.
loadPlugins() - Method in class nl.lockhead.lpf.plugins.loaders.impl.AsyncURLPluginLoader
 
loadPlugins(URL...) - Method in class nl.lockhead.lpf.plugins.loaders.impl.AsyncURLPluginLoader
 
loadPlugins() - Method in class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 
loadPlugins(File, boolean) - Method in class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 
loadPlugins() - Method in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 
loadPlugins(URL...) - Method in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 
loadPlugins() - Method in interface nl.lockhead.lpf.plugins.loaders.IPluginLoader
 
loadPlugins(IPluginLoader) - Method in class nl.lockhead.lpf.plugins.PluginManager
Apply the given plugin loader to load plugins
LoggerSettings - Annotation Type in nl.lockhead.lpf.plugins.annotations
Apply custom settings for the logger instance associated with a source class.
LPFEvent - Class in nl.lockhead.lpf.events
 
LPFEvent() - Constructor for class nl.lockhead.lpf.events.LPFEvent
 
LPFEventHandler - Class in nl.lockhead.lpf.events
 
LPFEventHandler() - Constructor for class nl.lockhead.lpf.events.LPFEventHandler
 
LPFLogger - Class in nl.lockhead.lpf.logging
 
LPFTaskException - Exception in nl.lockhead.lpf.exceptions
 
LPFTaskException(String) - Constructor for exception nl.lockhead.lpf.exceptions.LPFTaskException
 
LPFTaskException(String, Throwable) - Constructor for exception nl.lockhead.lpf.exceptions.LPFTaskException
 
LPFThread - Class in nl.lockhead.lpf.plugins.threads
 
LPFThread(Runnable, LPFThread.ThreadType) - Constructor for class nl.lockhead.lpf.plugins.threads.LPFThread
 
LPFThread(LPFThread.ThreadType) - Constructor for class nl.lockhead.lpf.plugins.threads.LPFThread
 
LPFThread.ThreadType - Enum in nl.lockhead.lpf.plugins.threads
 

M

MATCH_64 - Static variable in class nl.lockhead.lpf.tools.Matching
 
MATCH_FLAG - Static variable in class nl.lockhead.lpf.tools.Matching
 
MATCH_NEWLINE - Static variable in class nl.lockhead.lpf.tools.Matching
 
MATCH_NON - Static variable in class nl.lockhead.lpf.tools.Matching
 
Matching - Class in nl.lockhead.lpf.tools
 
move(File, File) - Static method in class nl.lockhead.lpf.tools.FileManager
 

N

nl.lockhead.lpf.events - package nl.lockhead.lpf.events
 
nl.lockhead.lpf.events.builtin - package nl.lockhead.lpf.events.builtin
 
nl.lockhead.lpf.exceptions - package nl.lockhead.lpf.exceptions
 
nl.lockhead.lpf.logging - package nl.lockhead.lpf.logging
 
nl.lockhead.lpf.plugins - package nl.lockhead.lpf.plugins
 
nl.lockhead.lpf.plugins.annotations - package nl.lockhead.lpf.plugins.annotations
 
nl.lockhead.lpf.plugins.loaders - package nl.lockhead.lpf.plugins.loaders
 
nl.lockhead.lpf.plugins.loaders.impl - package nl.lockhead.lpf.plugins.loaders.impl
 
nl.lockhead.lpf.plugins.plugin - package nl.lockhead.lpf.plugins.plugin
 
nl.lockhead.lpf.plugins.threads - package nl.lockhead.lpf.plugins.threads
 
nl.lockhead.lpf.tools - package nl.lockhead.lpf.tools
 

O

onDisable() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Invoked when disabling the plugin
onEnable() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Invoked when enabling the plugin
onFinish(List<File>) - Method in interface nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader.Callback
 
onLoad() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Invoked when loading the plugin
onUnload() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Invoked when unloading the plugin

P

parseVersion(String) - Static method in class nl.lockhead.lpf.plugins.plugin.Version
Parse version from string.
Plugin - Class in nl.lockhead.lpf.plugins.plugin
 
Plugin() - Constructor for class nl.lockhead.lpf.plugins.plugin.Plugin
 
PluginConfig - Class in nl.lockhead.lpf.plugins.plugin
Contains the plugin's metadata, e.g.
PluginContainer - Class in nl.lockhead.lpf.plugins.plugin
 
PluginContainer(Plugin) - Constructor for class nl.lockhead.lpf.plugins.plugin.PluginContainer
 
PluginDisableEvent - Class in nl.lockhead.lpf.events.builtin
 
PluginDisableEvent(Plugin) - Constructor for class nl.lockhead.lpf.events.builtin.PluginDisableEvent
 
PluginEnableEvent - Class in nl.lockhead.lpf.events.builtin
 
PluginEnableEvent(Plugin) - Constructor for class nl.lockhead.lpf.events.builtin.PluginEnableEvent
 
PluginEvent - Annotation Type in nl.lockhead.lpf.plugins.annotations
Annotate listeners with this annotation.
PluginInfo - Annotation Type in nl.lockhead.lpf.plugins.annotations
Provides mandatory information about your plugin.
PluginManager - Class in nl.lockhead.lpf.plugins
 

R

readBuffer(byte[]) - Method in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
https://stackoverflow.com/questions/28964450/loading-a-jar-dynamically-from-memory
readFile(String) - Static method in class nl.lockhead.lpf.tools.FileManager
 
readFile(URL) - Static method in class nl.lockhead.lpf.tools.FileManager
 
readFile(File) - Static method in class nl.lockhead.lpf.tools.FileManager
 
registerEvents() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Search for, and register, events in this plugin.
registerEvents(Plugin) - Method in class nl.lockhead.lpf.plugins.PluginManager
Look through the plugin's associated methods, and look for the PluginEvent annotation.
removeLogger(LPFLogger) - Static method in class nl.lockhead.lpf.logging.LPFLogger
 
removeLogger() - Method in class nl.lockhead.lpf.logging.LPFLogger
 
removeMetadata(String) - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
rename(File, File) - Static method in class nl.lockhead.lpf.tools.FileManager
 
running - Variable in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 

S

search(FilePluginLoader.Callback, File, boolean) - Method in class nl.lockhead.lpf.plugins.loaders.impl.FilePluginLoader
 
setCancelled(boolean) - Method in interface nl.lockhead.lpf.events.Cancellable
Cancelling an event will prevent the action, with which this event is associated, to further run.
setContainer(PluginContainer) - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
 
setDateFormat(SimpleDateFormat) - Method in class nl.lockhead.lpf.logging.LPFLogger
 
setDefaultHandler(Handler) - Static method in class nl.lockhead.lpf.logging.LPFLogger
 
setPluginAuthor(String) - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
setPluginName(String) - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
setPluginVersion(Version) - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 
severe(Object) - Method in class nl.lockhead.lpf.logging.LPFLogger
 
shouldRegisterEvents() - Method in class nl.lockhead.lpf.plugins.plugin.PluginConfig
 

T

toString() - Method in class nl.lockhead.lpf.events.LPFEvent
 
toString() - Method in class nl.lockhead.lpf.plugins.plugin.Version
 

U

unload() - Method in class nl.lockhead.lpf.plugins.plugin.Plugin
Unload this plugin, and unregister its events.
unloadPlugin() - Method in class nl.lockhead.lpf.plugins.plugin.PluginContainer
Attempt to unload this plugin.
unloadPlugins() - Method in class nl.lockhead.lpf.plugins.PluginManager
Unload and remove all loaded plugins.
URLPluginLoader - Class in nl.lockhead.lpf.plugins.loaders.impl
 
URLPluginLoader(List<URL>, URL...) - Constructor for class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 
urls - Variable in class nl.lockhead.lpf.plugins.loaders.impl.URLPluginLoader
 

V

valueOf(String) - Static method in enum nl.lockhead.lpf.plugins.threads.LPFThread.ThreadType
Returns the enum constant of this type with the specified name.
values() - Static method in enum nl.lockhead.lpf.plugins.threads.LPFThread.ThreadType
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in nl.lockhead.lpf.plugins.plugin
 
Version(Short, Short, Short) - Constructor for class nl.lockhead.lpf.plugins.plugin.Version
 
Version(Integer, Integer, Integer) - Constructor for class nl.lockhead.lpf.plugins.plugin.Version
 

W

warning(Object) - Method in class nl.lockhead.lpf.logging.LPFLogger
 
writeToFile(File, String, boolean) - Static method in class nl.lockhead.lpf.tools.FileManager
 
A C D E F G H I L M N O P R S T U V W 
Skip navigation links