Package-level declarations
Common utilities used by various parts, projects, things, cheeseburgers. Mostly composed of smaller methods which are meant to do one and one thing only. Ya know, utilities.
Common utilities used by various parts, projects, things, cheeseburgers. Mostly composed of smaller methods which are meant to do one and one thing only. Ya know, utilities.
Types
Utility-class revolving around Booleans.
Utility-class revolving around various file-interactions.
Utility-class revolving around various file-interactions.
Filter-types by which to filter entries when walking through the files in a directory.
Exceptions thrown if a specified de.griefed.serverpackcreator.api.utilities.common.FileType is considered invalid.
Exceptions thrown if a specified de.griefed.serverpackcreator.api.utilities.common.FileType is considered invalid.
Thrown when access to a JAR-file errored.
Stores values gathered by JarUtilities.jarInformation for easy access. Values stored and provided by this class are:
Some utilities used across ServerPackCreator, revolving around interacting with JAR-files.
Some utilities used across ServerPackCreator, revolving around interacting with JAR-files.
Exceptions thrown if a JSON value could not successfully be parsed.
JSON-based utility methods for acquiring and working with JSON from files and objects.
JSON-based utility methods for acquiring and working with JSON from files and objects.
Utility-class revolving around Lists.
Utility-class to compare to versions of semantic-format against each other and determine whether one is newer than the other.
Utility-class revolving around Strings.
Utility-class revolving around the system we are running on.
Utility-class revolving around the system we are running on.
Utility-class revolving around interactions with web-resources.
Utility-class revolving around interactions with web-resources.
Commonly used XML utilities.
Commonly used XML utilities.
Functions
Add multiple elements to a list in one go.
All parent directories are created, but not the file itself.
Try and delete this file or directory quietly. Deleting something quietly means that
Properly escape certain characters, so it can be safely used inside text-files, variables and scripts.
Walk this directory and return all file-objects which match the specified filter-type using the passed list of filters.
Check whether this ZipFile denotes an invalid ZipFile.
Check the given file or directory for read- and write-permission.
Read this input stream to a string.
Replace all matches for the given regex with replaceWith and return the resulting string.
Walk this directory and return all file-objects which match any of the regular expressions in the provided list.
Acquire the JAR-file which contains this class. If JAR-file is a nested JAR-file, meaning the class is inside a JAR-file inside another JAR-file, then said nested JAR-file will be extracted to the specified directory, or your systems temp-directory, and that file will be returned by this method.
Check whether any entry in this list starts with the given string.
Test whether files can be written to this file denoting a directory. If this file is not a directory, an IllegalArgumentException will be thrown.
Write this input stream to a text-file.