A B C D E G H I J L M N O P R S T U V W Y 
All Classes All Packages

A

acceptDelete() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
This is only required on the SimpleWebsiteInterface.
acceptDelete_GET_VALUES() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
If this is enabled get values in the url will be provided.
acceptGet() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
This is only required on the SimpleWebsiteInterface.
acceptGet_GET_VALUES() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
If this is enabled get values in the url will be provided.
acceptPatch() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
This is only required on the SimpleWebsiteInterface.
acceptPatch_FILE() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled files can be uploaded to the webserver.
acceptPatch_JSON() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled json can be passed to the server.
acceptPatch_RAW_STRING() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled the raw string value in the post request will be provided.
acceptPatch_X_WWW_FORM_URLENCODED() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled X_WWW_FORM_URLENCODED values in the post request will be provided.
acceptPathValues() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
If you use the path values feature please set this to true.
acceptPost() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
This is only required on the SimpleWebsiteInterface.
acceptPost_FILE() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled files can be uploaded to the webserver.
acceptPost_JSON() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled json can be passed to the server.
acceptPost_RAW_STRING() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled the raw string value in the post request will be provided.
acceptPost_X_WWW_FORM_URLENCODED() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled X_WWW_FORM_URLENCODED values in the post request will be provided.
acceptPut() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
This is only required on the SimpleWebsiteInterface.
acceptPut_FILE() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled files can be uploaded to the webserver.
acceptPut_JSON() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled json can be passed to the server.
acceptPut_RAW_STRING() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled the raw string value in the post request will be provided.
acceptPut_X_WWW_FORM_URLENCODED() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Only one data type can be enabled at once! If this is enabled X_WWW_FORM_URLENCODED values in the post request will be provided.
addPreHandler(Routine) - Static method in class me.scolastico.tools.web.WebServer
Add a pre handler to be run before an SimpleWebsiteInterfaceWithPreHandler
addUsageWeight(String, int) - Static method in class me.scolastico.tools.web.WebServer
To add a certain value of weight from a user.
AdvancedWebsiteInterface - Interface in me.scolastico.tools.web.interfaces
 
apiDescription() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
An simple API description.
AQUA - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
AQUA - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 

B

Background() - Constructor for class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
BACKSPACE - Static variable in class me.scolastico.tools.console.ConsoleDecorations
Deprecated.
 
BEGINNING_OF_PREVIOUS - Static variable in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
BLACK - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
BLACK - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
BLUE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
BLUE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
BOLD - Static variable in class me.scolastico.tools.console.ConsoleDecorations
Deprecated.
 
BrowserFingerprint - Class in me.scolastico.tools.web
 
BrowserFingerprint(HttpExchange) - Constructor for class me.scolastico.tools.web.BrowserFingerprint
 
bytesToPrivateKey(byte[]) - Static method in class me.scolastico.tools.simplified.rsa.RSAConverter
Convert bytes to an RSA private key.
bytesToPublicKey(byte[]) - Static method in class me.scolastico.tools.simplified.rsa.RSAConverter
Convert bytes to an RSA public key.

C

call() - Method in class me.scolastico.tools.console.ConsoleManager.ExitCommand
 
call() - Method in class me.scolastico.tools.console.ConsoleManager.ListCommandsCommand
 
checkIfExists() - Method in class me.scolastico.tools.handler.ConfigHandler
Check if the config file is already existing.
clearOutput() - Static method in class me.scolastico.tools.handler.OutputHandler
Deprecated.
Clear the output and remove all lines.
clearPreHandler() - Static method in class me.scolastico.tools.web.WebServer
Clear the pre handler list for SimpleWebsiteInterfaceWithPreHandler.
ConfigHandler<Config> - Class in me.scolastico.tools.handler
Config handler for easy managing of config files with the json format.
ConfigHandler(Config, String) - Constructor for class me.scolastico.tools.handler.ConfigHandler
Create a config handler.
ConfigHandler(Config, String, Boolean) - Constructor for class me.scolastico.tools.handler.ConfigHandler
Create a config handler.
ConsoleDecorations - Class in me.scolastico.tools.console
Deprecated.
Use jansi in future. https://github.com/fusesource/jansi
ConsoleDecorations() - Constructor for class me.scolastico.tools.console.ConsoleDecorations
Deprecated.
 
ConsoleDecorations.Background - Class in me.scolastico.tools.console
Deprecated.
ConsoleDecorations.CursorNavigation - Class in me.scolastico.tools.console
Deprecated.
ConsoleDecorations.Text - Class in me.scolastico.tools.console
Deprecated.
ConsoleLoadingAnimation - Class in me.scolastico.tools.console
A simple function to create a loading animation in the console.
ConsoleLoadingAnimation() - Constructor for class me.scolastico.tools.console.ConsoleLoadingAnimation
 
ConsoleManager - Class in me.scolastico.tools.console
ConsoleManager for easy creating of console application which looks like a normal console window.
ConsoleManager() - Constructor for class me.scolastico.tools.console.ConsoleManager
 
ConsoleManager.ExitCommand - Class in me.scolastico.tools.console
Default command for exiting the software through System.exit(0).
ConsoleManager.ListCommandsCommand - Class in me.scolastico.tools.console
Default command for listing all available commands.
ConsolePreOutputModificatorInterface - Interface in me.scolastico.tools.console
 
context() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
The path you want to register.
CookieManager - Class in me.scolastico.tools.web
Set and get cookies from an HttpExchange.
CookieManager() - Constructor for class me.scolastico.tools.web.CookieManager
 
CursorNavigation() - Constructor for class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 

D

DARK_AQUA - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
DARK_AQUA - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
DARK_BLUE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
DARK_BLUE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
DARK_GREEN - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
DARK_GREEN - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
DARK_GREY - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
DARK_GREY - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
DARK_PURPLE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
DARK_PURPLE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
DARK_RED - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
DARK_RED - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
decodeURL(String) - Static method in class me.scolastico.tools.simplified.URLCoder
Decode your URL.
decryptToBytes(PrivateKey, String) - Static method in class me.scolastico.tools.simplified.rsa.RSACrypt
Decrypt a base 64 encrypted message with an RSA private key.
decryptToString(PrivateKey, String) - Static method in class me.scolastico.tools.simplified.rsa.RSACrypt
Decrypt a base 64 encrypted message with an RSA private key.
delete() - Method in class me.scolastico.tools.handler.ConfigHandler
Delete the file.
DELETE - me.scolastico.tools.web.enums.WebServerRequestType
 
deleteRequest(HttpExchange, String[], HashMap<String, String>) - Method in interface me.scolastico.tools.web.interfaces.AdvancedWebsiteInterface
The web request handle function is called then somebody calls the path from the WebServerRegistration.
disable() - Static method in class me.scolastico.tools.console.ConsoleLoadingAnimation
Disable and remove the loading animation.
disable() - Static method in class me.scolastico.tools.console.ConsoleManager
Stop the ConsoleManager.
disable() - Static method in class me.scolastico.tools.handler.OutputHandler
Deprecated.
To disable the output recorder call this function!
DOWN - Static variable in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
DOWN(int) - Static method in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 

E

enable() - Static method in class me.scolastico.tools.console.ConsoleLoadingAnimation
Enable the loading animation and take over print stream to prevent output while loading.
enable() - Static method in class me.scolastico.tools.console.ConsoleManager
Start the ConsoleManager with daemon threads.
enable() - Static method in class me.scolastico.tools.handler.OutputHandler
Deprecated.
To enable the output recorder call this function!
enable() - Static method in class me.scolastico.tools.handler.SchedulerHandler
Enable the SchedulerHandler.
enable(boolean) - Static method in class me.scolastico.tools.console.ConsoleLoadingAnimation
Enable the loading animation.
enable(boolean) - Static method in class me.scolastico.tools.console.ConsoleManager
Start the ConsoleManager.
enable(boolean, boolean) - Static method in class me.scolastico.tools.console.ConsoleManager
Start the ConsoleManager.
enableCatchUncaughtException() - Static method in class me.scolastico.tools.handler.ErrorHandler
Enable the exception handling for uncaught exceptions.
enableErrorLogFile() - Static method in class me.scolastico.tools.handler.ErrorHandler
Enable the 'error.log' file to which the stack traces will also be written.
enableSentry(String) - Static method in class me.scolastico.tools.handler.ErrorHandler
To enable sentry reporting past the sentry dns string to this function!
enableSentry(String, Double, String) - Static method in class me.scolastico.tools.handler.ErrorHandler
To enable sentry reporting past the sentry dns string to this function!
encodeURL(String) - Static method in class me.scolastico.tools.simplified.URLCoder
Encode your URL.
encrypt(PublicKey, byte[]) - Static method in class me.scolastico.tools.simplified.rsa.RSACrypt
Encrypt a byte array with an RSA public key.
encrypt(PublicKey, String) - Static method in class me.scolastico.tools.simplified.rsa.RSACrypt
Encrypt a string with an RSA public key.
ERASE_TO_END_OF_LINE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
ErrorHandler - Class in me.scolastico.tools.handler
Handle your errors automatically.
ErrorHandler() - Constructor for class me.scolastico.tools.handler.ErrorHandler
Its not recommended to use the instance.
errorMessages() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
An array list of error messages with their short codes separated by a ' - '.
exampleRequest() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
An example request path.
exampleResponse() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
An example response.
execute(HttpExchange) - Method in interface me.scolastico.tools.web.interfaces.WebServerPreExecuterInterface
 
execute(HashMap<String, Object>) - Method in interface me.scolastico.tools.routine.Routine
The maim execute function for this routine job.
executeCommand(String[]) - Static method in class me.scolastico.tools.console.ConsoleManager
Execute a command manually.
executeCommand(String, String[]) - Static method in class me.scolastico.tools.console.ConsoleManager
Execute a command manually.
executeTick(Long) - Method in class me.scolastico.tools.dataholder.SchedulerConfiguration
Its not recommended to use this function manually.
ExitCommand() - Constructor for class me.scolastico.tools.console.ConsoleManager.ExitCommand
 

G

generate() - Static method in class me.scolastico.tools.simplified.rsa.RSAGenerator
Generate an RSA KeyPair with a length of 2048.
generate(Integer) - Static method in class me.scolastico.tools.simplified.rsa.RSAGenerator
Generate an RSA KeyPair
GET - me.scolastico.tools.web.enums.WebServerRequestType
 
getAdvancedWebsiteInterface() - Method in class me.scolastico.tools.web.dataholder.WebServerRegistrationData
 
getAllResourcesInFolder(String) - Method in class me.scolastico.tools.simplified.SimplifiedResourceFileReader
Get all files recursively in a folder from the resources.
getByteArrayFromResources(String) - Method in class me.scolastico.tools.simplified.SimplifiedResourceFileReader
Get the content of a file from the resources.
getBytes(PrivateKey) - Static method in class me.scolastico.tools.simplified.rsa.RSAConverter
Convert a private RSA key to
getBytes(PublicKey) - Static method in class me.scolastico.tools.simplified.rsa.RSAConverter
Convert a public RSA key to
getCookie(HttpExchange, String) - Static method in class me.scolastico.tools.web.CookieManager
Get the value of an cookie.
getDefaultConfig() - Method in class me.scolastico.tools.handler.ConfigHandler
Get the default config object.
getErrorMessage() - Method in class me.scolastico.tools.routine.RoutineAnswer
 
getErrorMessage() - Method in class me.scolastico.tools.routine.RoutineManager
 
getFile() - Method in class me.scolastico.tools.handler.ConfigHandler
Get the config file as an File object.
getFingerprintHash() - Method in class me.scolastico.tools.web.BrowserFingerprint
 
getForwardFor() - Method in class me.scolastico.tools.web.BrowserFingerprint
 
getInstance() - Static method in class me.scolastico.tools.simplified.SimplifiedResourceFileReader
Get the instance.
getIp() - Method in class me.scolastico.tools.web.BrowserFingerprint
 
getLastExecutedClass() - Method in class me.scolastico.tools.routine.RoutineManager
 
getLastObjectMap() - Method in class me.scolastico.tools.routine.RoutineManager
 
getLastOutput() - Static method in class me.scolastico.tools.console.ConsoleManager
Get the last outputted lines.
getLoginToken() - Method in class me.scolastico.tools.web.TokenManager
Get the login token from a http exchange.
getLoginToken(HttpExchange) - Static method in class me.scolastico.tools.web.TokenManager
Get the login token from a http exchange.
getObjectMap() - Method in class me.scolastico.tools.routine.RoutineAnswer
 
getOutput() - Static method in class me.scolastico.tools.handler.OutputHandler
Deprecated.
Get the last 1024 lines from the output.
getPath() - Method in class me.scolastico.tools.handler.ConfigHandler
Get the path to the config file.
getRegistration() - Method in class me.scolastico.tools.web.dataholder.WebServerRegistrationData
 
getRequest(HttpExchange, String[], HashMap<String, String>) - Method in interface me.scolastico.tools.web.interfaces.AdvancedWebsiteInterface
The web request handle function is called then somebody calls the path from the WebServerRegistration.
getSimpleWebsiteInterface() - Method in class me.scolastico.tools.web.dataholder.WebServerRegistrationData
 
getSimpleWebsiteInterfaceWithPreHandler() - Method in class me.scolastico.tools.web.dataholder.WebServerRegistrationData
 
getSkippedRoutine() - Method in class me.scolastico.tools.routine.RoutineAnswer
 
getStoreRows() - Static method in class me.scolastico.tools.handler.OutputHandler
Deprecated.
Get the current configuration of how much rows should be stored.
getStringFromResources(String) - Method in class me.scolastico.tools.simplified.SimplifiedResourceFileReader
Get the content of a file from the resources.
getSystemConfigFolder(String) - Static method in class me.scolastico.tools.handler.ConfigHandler
Get an path to an folder where you can store system wide configurations.
getUsageWeight(String) - Static method in class me.scolastico.tools.web.WebServer
Get the usage weight of an user.
getUserAgent() - Method in class me.scolastico.tools.web.BrowserFingerprint
 
getUserConfigFolder() - Static method in class me.scolastico.tools.handler.ConfigHandler
Get an path to an folder where you can store user configurations.
getUserConfigFolder(String) - Static method in class me.scolastico.tools.handler.ConfigHandler
Get an path to an folder where you can store user configurations.
getWebServerRequestType() - Method in class me.scolastico.tools.web.dataholder.WebServerRegistrationData
 
getX() - Method in class me.scolastico.tools.pairs.Pair
Get the value of the data with the type one.
getX() - Method in class me.scolastico.tools.pairs.Triple
Get the value of the data with the type one.
getY() - Method in class me.scolastico.tools.pairs.Pair
Get the value of the data with the type two.
getY() - Method in class me.scolastico.tools.pairs.Triple
Get the value of the data with the type two.
getZ() - Method in class me.scolastico.tools.pairs.Triple
Get the value of the data with the type three.
GOLD - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
GOLD - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
GREEN - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
GREEN - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
GREY - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
GREY - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 

H

handle(HttpExchange) - Method in class me.scolastico.tools.web.WebServer
 
handle(Throwable) - Static method in class me.scolastico.tools.handler.ErrorHandler
Handle an exception.
handle(Throwable, SentryLevel, String...) - Static method in class me.scolastico.tools.handler.ErrorHandler
Handle an exception and send more data to Sentry.
handleFatal(Throwable) - Static method in class me.scolastico.tools.handler.ErrorHandler
Handle an exception and exit the program with exit a non zero exit code.
handleFatal(Throwable, int) - Static method in class me.scolastico.tools.handler.ErrorHandler
Handle an exception and exit the program with exit a non zero exit code.
handleRequest(HttpExchange, String[], HashMap<String, String>, HashMap<String, String>, String, List<FileItem>, Object) - Method in interface me.scolastico.tools.web.interfaces.SimpleWebsiteInterface
The web request handle function is called then somebody calls the path from the WebServerRegistration.
handleRequest(HttpExchange, String[], HashMap<String, String>, HashMap<String, String>, String, List<FileItem>, Object) - Method in class me.scolastico.tools.web.special.pages.json.InternalError
 
handleRequest(HttpExchange, String[], HashMap<String, String>, HashMap<String, String>, String, List<FileItem>, Object) - Method in class me.scolastico.tools.web.special.pages.json.LimitReached
 
handleRequest(HttpExchange, String[], HashMap<String, String>, HashMap<String, String>, String, List<FileItem>, Object) - Method in class me.scolastico.tools.web.special.pages.json.MethodNotAllowed
 
handleRequest(HttpExchange, String[], HashMap<String, String>, HashMap<String, String>, String, List<FileItem>, Object) - Method in class me.scolastico.tools.web.special.pages.json.NotFound
 
handleRequest(HttpExchange, String[], HashMap<String, String>, HashMap<String, String>, String, List<FileItem>, Object) - Method in class me.scolastico.tools.web.special.pages.json.NotJson
 
handleRequest(HttpExchange, String[], HashMap<String, String>, HashMap<String, String>, String, List<FileItem>, Object, HashMap<String, Object>) - Method in interface me.scolastico.tools.web.interfaces.SimpleWebsiteInterfaceWithPreHandler
The web request handle function is called then somebody calls the path from the WebServerRegistration.

I

INTERNAL_ERROR_PAGE - me.scolastico.tools.web.enums.SpecialWebsite
 
InternalError - Class in me.scolastico.tools.web.special.pages.json
Special page for json instead of plain text.
InternalError() - Constructor for class me.scolastico.tools.web.special.pages.json.InternalError
 
INVERTED_COLOR - Static variable in class me.scolastico.tools.console.ConsoleDecorations
Deprecated.
 
isAPI() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
If you want to generate an map for your webserver set this to true if you are registering an API.
isCanceled() - Method in class me.scolastico.tools.routine.RoutineManager
 
isEnabled() - Static method in class me.scolastico.tools.console.ConsoleLoadingAnimation
Is the animation enabled?
isEnabled() - Static method in class me.scolastico.tools.console.ConsoleManager
Is the ConsoleManager enabled?
isPrivateKey(String) - Static method in class me.scolastico.tools.simplified.rsa.RSAValidator
Check if the given string is an RSA private key.
isPublicKey(String) - Static method in class me.scolastico.tools.simplified.rsa.RSAValidator
Check if the given string is an RSA public key.
isRunning() - Method in class me.scolastico.tools.routine.RoutineManager
 
isRunning() - Static method in class me.scolastico.tools.web.WebServer
Check if the webserver is running.
isStarted() - Method in class me.scolastico.tools.routine.RoutineManager
 
isStop() - Method in class me.scolastico.tools.routine.RoutineAnswer
 

J

jsonObject() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
If json should be automatically managed by the webserver set here the class of the json object.

L

LEFT - Static variable in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
LEFT(int) - Static method in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
LIMIT_REACHED_PAGE - me.scolastico.tools.web.enums.SpecialWebsite
 
LimitReached - Class in me.scolastico.tools.web.special.pages.json
Special page for json instead of plain text.
LimitReached() - Constructor for class me.scolastico.tools.web.special.pages.json.LimitReached
 
ListCommandsCommand() - Constructor for class me.scolastico.tools.console.ConsoleManager.ListCommandsCommand
 
loadConfig() - Method in class me.scolastico.tools.handler.ConfigHandler
Load the config.

M

maxFileSizeInMb() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
CURRENTLY NOT IN USE! WIP! Max file size in MB if file upload is enabled in this registrations.
me.scolastico.tools.console - package me.scolastico.tools.console
 
me.scolastico.tools.dataholder - package me.scolastico.tools.dataholder
 
me.scolastico.tools.handler - package me.scolastico.tools.handler
 
me.scolastico.tools.pairs - package me.scolastico.tools.pairs
 
me.scolastico.tools.routine - package me.scolastico.tools.routine
 
me.scolastico.tools.simplified - package me.scolastico.tools.simplified
 
me.scolastico.tools.simplified.rsa - package me.scolastico.tools.simplified.rsa
 
me.scolastico.tools.web - package me.scolastico.tools.web
 
me.scolastico.tools.web.annoations - package me.scolastico.tools.web.annoations
 
me.scolastico.tools.web.dataholder - package me.scolastico.tools.web.dataholder
 
me.scolastico.tools.web.enums - package me.scolastico.tools.web.enums
 
me.scolastico.tools.web.exceptions - package me.scolastico.tools.web.exceptions
 
me.scolastico.tools.web.interfaces - package me.scolastico.tools.web.interfaces
 
me.scolastico.tools.web.special.pages.json - package me.scolastico.tools.web.special.pages.json
 
METHOD_NOT_SUPPORTED_PAGE - me.scolastico.tools.web.enums.SpecialWebsite
 
MethodNotAllowed - Class in me.scolastico.tools.web.special.pages.json
Special page for json instead of plain text.
MethodNotAllowed() - Constructor for class me.scolastico.tools.web.special.pages.json.MethodNotAllowed
 
modifyOutput(String) - Method in interface me.scolastico.tools.console.ConsolePreOutputModificatorInterface
 

N

NORMAL_PAGE - me.scolastico.tools.web.enums.SpecialWebsite
 
NOT_FOUND_PAGE - me.scolastico.tools.web.enums.SpecialWebsite
 
NOT_JSON_PAGE - me.scolastico.tools.web.enums.SpecialWebsite
 
NotFound - Class in me.scolastico.tools.web.special.pages.json
Special page for json instead of plain text.
NotFound() - Constructor for class me.scolastico.tools.web.special.pages.json.NotFound
 
NotJson - Class in me.scolastico.tools.web.special.pages.json
Special page for json instead of plain text.
NotJson() - Constructor for class me.scolastico.tools.web.special.pages.json.NotJson
 

O

OutputHandler - Class in me.scolastico.tools.handler
Deprecated.
Moved this function to the new ConsoleManager.
OutputHandler() - Constructor for class me.scolastico.tools.handler.OutputHandler
Deprecated.
 

P

Pair<X,​Y> - Class in me.scolastico.tools.pairs
A generic data holder for two data types.
Pair(X, Y) - Constructor for class me.scolastico.tools.pairs.Pair
Construct a new pair with two data types.
PATCH - me.scolastico.tools.web.enums.WebServerRequestType
 
patchRequest(HttpExchange, String[], HashMap<String, String>, String, List<FileItem>, Object) - Method in interface me.scolastico.tools.web.interfaces.AdvancedWebsiteInterface
The web request handle function is called then somebody calls the path from the WebServerRegistration.
pemToBytes(String) - Static method in class me.scolastico.tools.simplified.rsa.RSAConverter
Convert a PEM key to a byte array.
POST - me.scolastico.tools.web.enums.WebServerRequestType
 
postRequest(HttpExchange, String[], HashMap<String, String>, String, List<FileItem>, Object) - Method in interface me.scolastico.tools.web.interfaces.AdvancedWebsiteInterface
The web request handle function is called then somebody calls the path from the WebServerRegistration.
privateKeyToKeyPair(PrivateKey) - Static method in class me.scolastico.tools.simplified.rsa.RSAConverter
Convert a private RSA key to a KeyPair with the public key.
privateToPEM(PrivateKey) - Static method in class me.scolastico.tools.simplified.rsa.RSAConverter
Convert a private RSA key to a PEM key.
publicToPEM(PublicKey) - Static method in class me.scolastico.tools.simplified.rsa.RSAConverter
Convert a public RSA key to a PEM key.
PURPLE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
PURPLE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
PUT - me.scolastico.tools.web.enums.WebServerRequestType
 
putRequest(HttpExchange, String[], HashMap<String, String>, String, List<FileItem>, Object) - Method in interface me.scolastico.tools.web.interfaces.AdvancedWebsiteInterface
The web request handle function is called then somebody calls the path from the WebServerRegistration.

R

RED - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
RED - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
registerAllWebInterfacesInPackage(String) - Static method in class me.scolastico.tools.web.WebServer
Register all webinterfaces in a package through reflections.
registerCommand(Callable<Integer>) - Static method in class me.scolastico.tools.console.ConsoleManager
Register a command.
registerPreOutputModificator(ConsolePreOutputModificatorInterface) - Static method in class me.scolastico.tools.console.ConsoleManager
Add a console pre output modificator to change the output before its send to the console.
registerTask(SchedulerConfiguration) - Static method in class me.scolastico.tools.handler.SchedulerHandler
Register your SchedulerConfiguration and enable it for automatic scheduling.
registerWebInterface(AdvancedWebsiteInterface) - Static method in class me.scolastico.tools.web.WebServer
If you want to register a single webinterface you can register it with this function.
registerWebInterface(SimpleWebsiteInterface) - Static method in class me.scolastico.tools.web.WebServer
If you want to register a single webinterface you can register it with this function.
registerWebInterface(SimpleWebsiteInterfaceWithPreHandler) - Static method in class me.scolastico.tools.web.WebServer
If you want to register a single webinterface you can register it with this function.
registerWebServerPreExecuter(WebServerPreExecuterInterface) - Static method in class me.scolastico.tools.web.WebServer
Register an pre executer which will be executed every time before the request is processed.
removeConfiguration(long) - Static method in class me.scolastico.tools.handler.SchedulerHandler
Remove a SchedulerConfiguration so it wont run again.
removeCookie(HttpExchange, String) - Static method in class me.scolastico.tools.web.CookieManager
Remove an cookie.
removeUsageWeight(String, int) - Static method in class me.scolastico.tools.web.WebServer
To remove a certain value of weight from a user.
RESET - Static variable in class me.scolastico.tools.console.ConsoleDecorations
Deprecated.
 
RESET - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
RESTORE_POSITION - Static variable in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
RIGHT - Static variable in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
RIGHT(int) - Static method in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
Routine - Interface in me.scolastico.tools.routine
The routine interface which is needed for all routine jobs.
RoutineAnswer - Class in me.scolastico.tools.routine
A data holder for the routines module.
RoutineAnswer() - Constructor for class me.scolastico.tools.routine.RoutineAnswer
Create a routine answer.
RoutineAnswer(boolean) - Constructor for class me.scolastico.tools.routine.RoutineAnswer
Create a routine answer.
RoutineAnswer(boolean, String) - Constructor for class me.scolastico.tools.routine.RoutineAnswer
Create a routine answer.
RoutineAnswer(HashMap<String, Object>) - Constructor for class me.scolastico.tools.routine.RoutineAnswer
Create a routine answer.
RoutineAnswer(HashMap<String, Object>, Routine[]) - Constructor for class me.scolastico.tools.routine.RoutineAnswer
Create a routine answer.
RoutineManager - Class in me.scolastico.tools.routine
With the routine manager you can divide long functions into sections which can then also be executed asynchronously.
RoutineManager(List<Routine>) - Constructor for class me.scolastico.tools.routine.RoutineManager
 
RoutineManager(List<Routine>, Routine) - Constructor for class me.scolastico.tools.routine.RoutineManager
 
RSAConverter - Class in me.scolastico.tools.simplified.rsa
Several conversion functions for RSA and PEM keys
RSAConverter() - Constructor for class me.scolastico.tools.simplified.rsa.RSAConverter
 
RSACrypt - Class in me.scolastico.tools.simplified.rsa
Encrypt and decrypt bytes or a string.
RSACrypt() - Constructor for class me.scolastico.tools.simplified.rsa.RSACrypt
 
RSAGenerator - Class in me.scolastico.tools.simplified.rsa
RSA KeyPair generator
RSAGenerator() - Constructor for class me.scolastico.tools.simplified.rsa.RSAGenerator
 
RSAValidator - Class in me.scolastico.tools.simplified.rsa
Validate RSA PEM keys.
RSAValidator() - Constructor for class me.scolastico.tools.simplified.rsa.RSAValidator
 

S

SAVE_POSITION - Static variable in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
saveDefaultConfig() - Method in class me.scolastico.tools.handler.ConfigHandler
Save the default config in the config file.
SchedulerConfiguration - Class in me.scolastico.tools.dataholder
The SchedulerConfiguration for the SchedulerHandler.
SchedulerConfiguration(long, boolean, Runnable) - Constructor for class me.scolastico.tools.dataholder.SchedulerConfiguration
Create a new SchedulerConfiguration for multiple runs.
SchedulerConfiguration(long, boolean, Runnable, boolean) - Constructor for class me.scolastico.tools.dataholder.SchedulerConfiguration
Create a new SchedulerConfiguration for multiple runs.
SchedulerConfiguration(long, Runnable) - Constructor for class me.scolastico.tools.dataholder.SchedulerConfiguration
Create a new SchedulerConfiguration for multiple runs.
SchedulerHandler - Class in me.scolastico.tools.handler
SchedulerHandler for easy scheduling of tasks!
SchedulerHandler() - Constructor for class me.scolastico.tools.handler.SchedulerHandler
 
setAnimation(char[]) - Static method in class me.scolastico.tools.console.ConsoleLoadingAnimation
The animation chars in the correct order.
setAppendTime(boolean) - Static method in class me.scolastico.tools.console.ConsoleManager
Should the current time stamp be added before an output? Will use "yyyy/MM/dd HH:mm:ss" format.
setBehindCloudFlare(boolean) - Static method in class me.scolastico.tools.web.BrowserFingerprint
 
setCheckForIndexHtml(boolean) - Static method in class me.scolastico.tools.web.WebServer
Should if an file override or an resource is found with the name index.html it also replace the "/" url?
setCheckOverrideFolderFirst(boolean) - Static method in class me.scolastico.tools.web.WebServer
Should the override folder checked first if an file is existing? The http request method will be ignored in this case! If set to true the webserver will check before checking if an website interface will be executed! If something is found the interface will not be called and after sending the content of the file the webserver closes the connection!
setCheckResourcesAfter(boolean) - Static method in class me.scolastico.tools.web.WebServer
Should the resource folder be checked first if an file is existing? The http request method will NOT be ignored in this case! Only GET will not return in 404! If set to true the webserver will check after checking if an website interface can be executed! If something is found the the webserver will not return a 404 error and will send instead the content of the resource.
setCookie(HttpExchange, String, String, long) - Static method in class me.scolastico.tools.web.CookieManager
Set an cookie value.
setLoginToken(HttpExchange, String) - Static method in class me.scolastico.tools.web.TokenManager
Function to set a login cookie which is valid for one day.
setLoginToken(HttpExchange, String, Long) - Static method in class me.scolastico.tools.web.TokenManager
Function to set a login cookie.
setLoginToken(String) - Method in class me.scolastico.tools.web.TokenManager
Function to set a login cookie which is valid for one day.
setLoginToken(String, Long) - Method in class me.scolastico.tools.web.TokenManager
Function to set a login cookie.
setMaxUsageWeight(int) - Static method in class me.scolastico.tools.web.WebServer
Set the max usage weight.
setNotFoundMessage(String) - Static method in class me.scolastico.tools.console.ConsoleManager
If an command is not found will respond with this message.
setOverrideFolderPath(String) - Static method in class me.scolastico.tools.web.WebServer
The path to the override folder which should be checked before an request will be handled by the interfaces.
setPrefix(String) - Static method in class me.scolastico.tools.console.ConsoleManager
Set the prefix for the input.
setRegisterDefaults(boolean) - Static method in class me.scolastico.tools.console.ConsoleManager
Should the default commands are registered if no command with the same name is already registered?
setResourceFolderPath(String) - Static method in class me.scolastico.tools.web.WebServer
The path to the folder in the resources which should be checked after an request was handled by the interfaces.
setSpeed(int) - Static method in class me.scolastico.tools.console.ConsoleLoadingAnimation
The speed of the animation.
setStoreLineNumber(int) - Static method in class me.scolastico.tools.console.ConsoleManager
Set how much lines from the output should be stored in an string array.
setStoreRows(int) - Static method in class me.scolastico.tools.handler.OutputHandler
Deprecated.
Set how much rows should be stored.
setWeightLessPerSecond(int) - Static method in class me.scolastico.tools.web.WebServer
Set how much usage weight an user loses each second.
SIMPLE - me.scolastico.tools.web.enums.WebServerRequestType
 
SimpleWebsiteInterface - Interface in me.scolastico.tools.web.interfaces
 
SimpleWebsiteInterfaceWithPreHandler - Interface in me.scolastico.tools.web.interfaces
 
SimplifiedResourceFileReader - Class in me.scolastico.tools.simplified
Simple functions to read a byte array or a string out of a file in the resources.
SpecialWebsite - Enum in me.scolastico.tools.web.enums
 
start() - Method in class me.scolastico.tools.routine.RoutineManager
 
start(Integer) - Static method in class me.scolastico.tools.web.WebServer
Start the webserver.
start(HashMap<String, Object>) - Method in class me.scolastico.tools.routine.RoutineManager
 
startNotAsynchronously() - Method in class me.scolastico.tools.routine.RoutineManager
 
startNotAsynchronously(HashMap<String, Object>) - Method in class me.scolastico.tools.routine.RoutineManager
 
stop() - Method in class me.scolastico.tools.routine.RoutineManager
 
stop() - Static method in class me.scolastico.tools.web.WebServer
Stop the webserver and reset all registrations.
storeConfig(Config) - Method in class me.scolastico.tools.handler.ConfigHandler
Save the config object as an JSON string in the config file.

T

Text() - Constructor for class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
TokenManager - Class in me.scolastico.tools.web
An manager to set and get login tokens.
TokenManager(HttpExchange, String) - Constructor for class me.scolastico.tools.web.TokenManager
 
Triple<X,​Y,​Z> - Class in me.scolastico.tools.pairs
A generic data holder for two data types.
Triple(X, Y, Z) - Constructor for class me.scolastico.tools.pairs.Triple
Construct a new pair with two data types.

U

uncaughtException(Thread, Throwable) - Method in class me.scolastico.tools.handler.ErrorHandler
Internal function from the UncaughtExceptionHandler implementation.
UNDERLINE - Static variable in class me.scolastico.tools.console.ConsoleDecorations
Deprecated.
 
UP - Static variable in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
UP(int) - Static method in class me.scolastico.tools.console.ConsoleDecorations.CursorNavigation
Deprecated.
 
URLCoder - Class in me.scolastico.tools.simplified
Url Decoder and Encoder for simplified de-/en- coding of urls without passing everytime the UTF-8 charset.
URLCoder() - Constructor for class me.scolastico.tools.simplified.URLCoder
 
usageWeight() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
Each call of this site will add to not whitelisted IPs the specified usage weight.

V

valueOf(String) - Static method in enum me.scolastico.tools.web.enums.SpecialWebsite
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum me.scolastico.tools.web.enums.WebServerRequestType
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.scolastico.tools.web.enums.SpecialWebsite
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum me.scolastico.tools.web.enums.WebServerRequestType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebServer - Class in me.scolastico.tools.web
An simple webserver for easy management of your api's.
WebServerPreExecuterInterface - Interface in me.scolastico.tools.web.interfaces
 
WebServerRegistration - Annotation Type in me.scolastico.tools.web.annoations
This annotation is required for the SimpleWebsiteInterface and the AdvancedWebsiteInterface.
WebServerRegistrationData - Class in me.scolastico.tools.web.dataholder
 
WebServerRegistrationData(AdvancedWebsiteInterface, WebServerRegistration, WebServerRequestType) - Constructor for class me.scolastico.tools.web.dataholder.WebServerRegistrationData
 
WebServerRegistrationData(SimpleWebsiteInterface, WebServerRegistration) - Constructor for class me.scolastico.tools.web.dataholder.WebServerRegistrationData
 
WebServerRegistrationData(SimpleWebsiteInterfaceWithPreHandler, WebServerRegistration) - Constructor for class me.scolastico.tools.web.dataholder.WebServerRegistrationData
 
WebServerRegistrationException - Exception in me.scolastico.tools.web.exceptions
 
WebServerRegistrationException() - Constructor for exception me.scolastico.tools.web.exceptions.WebServerRegistrationException
 
WebServerRegistrationException(String) - Constructor for exception me.scolastico.tools.web.exceptions.WebServerRegistrationException
 
WebServerRequestType - Enum in me.scolastico.tools.web.enums
 
website() - Method in annotation type me.scolastico.tools.web.annoations.WebServerRegistration
If you want to replace the default pages like the 404 page you can define here the page.
WHITE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
WHITE - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 

Y

YELLOW - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Background
Deprecated.
 
YELLOW - Static variable in class me.scolastico.tools.console.ConsoleDecorations.Text
Deprecated.
 
A B C D E G H I J L M N O P R S T U V W Y 
All Classes All Packages