Package Torello.Java
This package is largely a "helper & utility" package to the HTML scrape routines.
Code HiLiting, and the
There are almost a dozen basic utility classes in this package. The
'FileRW' make forgetting about the file-system a lot easier. 'FileNode'
loads the directory-tree of the underlying file-system into memory, and facilitates traversing
that tree with anything from java.util.Vector to java.util.stream.Stream.
Code HiLiting, and the
JavaDoc Tool polls a server called
'HiLite.ME' easily and automatically.. Much of the classes in this package wind up
seeming like a series of "college notes" or possiblly "research notes" for familiarizing
oneself with Java. The class 'EXCC' which may seem trivial, helps when a complex
exception with a large 'cause chain' is thrown. The code itself is only around 20
lines of Java Code.
There are almost a dozen basic utility classes in this package. The
String
routines are copious enough to simplify some of the things that are done with HTML News pages.
Two of them are created by Code Generators (StrIndexOf and StrTokIndexOf). If
the number of methods provided seems superfluous, you don't have to use them. However, writing
something once, so it may be forgotten is how to improve JAR libraries.-
FileNode (File-System 2.0) Java Entity Description FileNodeFilter A simple functional-interface (lambda) for filtering lists ofFileNodeSearchAndPrint A functional-interface for specifying a regular-expression, and how to print the results, to theGREPToolIOExceptionHandler A functional-interface, used in case ofIOException, to be used alongside the'GREP'ToolRTC<SOME_DATA_STRUCTURE> This class actually extends the parent-type classVarTypeFileNode One of the flagship classes of Java HTML,FileNodeloads a directory or directory-tree from a File-System into memory, and provides a thorough API for listing and analyzing its contentsFileTransfer Operating-System independent utilities for moving, copying and deleting files, or an entire tree of files - using theFileNodeclassGREP A utility that attempts to mimic the UNIX command'grep'SED Based on the UNIX'SED'Command, this class updates files based on eitherString-Literal matches & replacements, or or Regular-Expression matchesSuper String Theory Java Entity Description StrFilter A simple functional-interface that provides many 'builder' methods for creating standard JavaPredicate'sthat operate on an Object's'toString'methodStringParse A plethora of extensions to Java'sStringclassStrCh Class String-Character provides an exhaustive-combinatoric suite of methods that extend the basic JavaStringmethodsequals, contains, startsWithandendsWith, using Javacharprimitives as the comparator elementStrCmpr Class String-Compare provides an exhaustive-combinatoric suite of methods that extend the basic JavaStringmethodsequals, contains, startsWithandendsWithStrTokCmpr Similar to class String-Compare, String-Token-Compare also provides an exhaustive suite of methods that extend the basic JavaStringmethodsequals, contains, startsWithandendsWith, but further allowing a user to specify the match-string boundary-charactersStrIndexOf This class builds upon the API that is provided byString indexOfto provide a larger collection of search routines for JavaString'sStrTokIndexOf The purpose of this class is to help find the location ofToken-Matchesinside of an input source-StringStrCSV A utility that builds Comma Separated Value String's (and can parse them as well)StrIndent A class for indenting, unindenting and trimming textual-stringsStrPrint This class provides severalStringprinting utilities such as abbreviation and list printingStrReplace An efficient way to replace multiple substring's, or single-characters, inside of a single Java String, in place, without rebuilding the returnedStringmore than onceStrSource java.lang.Process 2.0 Java Entity Description OSCommands OSExtras This class allows for the user to provide redirects, environment variables, and output/error unification (meaning the Standard-Output and Error-Output Streams are printed together, as if they were being printed to the terminal)OSJavaPipe Allows a user to pipe data directly from Java-Memory, and into an instance ofjavaOSResponse GSUTIL This class wraps the Google Cloud command-line tool'gsutil', simply using the standard Javajava.lang.Processobject (in addition to Java HTML'sOSResponse) thereby providing a simple Java-API for these operating-system callsMSDOS A great tool for invoking commands to an MS-DOS operating-systemShell A great tool for working with a UNIX operating-system, and invoking common UNIX commands - this class simply converts many of the old UNIX-BASH shell commands into a simple Java APIJava Utilities Java Entity Description C A UNIX Terminal Color-Codes implementation for printing colored text to terminalEXCC 'Exception Cause Chain'helps convert exception messages whoseThrowableFileRW Operating-System independent File Read & Write utilities that reduce many common Java File I/O Commands to a single method invocation, focusing heavily on Java's Serialization featureLFEC Load File Exception Catchprovides an eloquent way for printing standardized (consistent-looking) error messages to terminal if a data-file fails to load from the file-system, and subsequently halting the JVM - immediatelyLFEC.GCSSB The Google Cloud Server Storage Bucket extension of "Load File Exception Catch" does the work thatLFECdoes, but for GCS Storage Buckets, rather than operating system filesLV The Loop-Variable End-Points class is used extensively throughout the Java-HTML Library for throwing properly formatted exception messages vis-a-vis loop variablesQ The class'Q'(Query) is an extremely simple debugging tool that is similar to an IDE's 'breakpoint' feature, but instead using terminal inputRegExFiles A utility for saving Regular-Expressions in a text-file that may be lazily-loaded at run-time when neededStorageWriter A class that is nearly identical to theStringBuilderand / orStringWriterstandard Java ClassesVarType<RET_DATA_STRUCTURE,INSERT_TYPE> Provides any method the ability to provide its users the ability to choose what kind of data structure should be used for returning the method's resultsEnums Java Entity Description Country An enumeration of countries in the worldVerbosity A Java'enum'that is used in several locations in theJava-HTML JARLibrary to allow an end-user to request the quantity of text being produced by a tool or applicationExceptions Java Entity Description CallableBodyException This is an exception that occurs when parsing Java Method & Constructor Bodies for the JavaDoc Code-HiLiting Application; and it indicates that the method or constructor body passed to the code-hiliting mechanism is not properly formattedDirExpectedException Thrown when aFileNodeoperation has been invoked on an instance that represents an Operating-SystemFile, but that invoked-method may only be applied to Operating-SystemDirectoryinstancesEmptyListException Intended to signal that a required-parameter or configuration has been passed a Data-Structure that is an empty or null listFileExpectedException Thrown when aFileNodeoperation has been invoked on an instance that represents an Operating-SystemDirectory, but that invoked-method may only be applied to Operating-SystemFileinstancesFileNodeException General purpose exception that may be used alongside classFileNodeFileSizeException May be used to indicate that a data-file is too large to fit into an in-memory data-structure; or too big to adhere to any kind of model-constraintsJavaIdentifierException Thrown when aStringparameter or variable does not constitute a Valid Java-Identifier when it was expected toNException Throws when a Method's (or Constructor's) integer-valued parameter (often for parameters that are actually named'n', representing a 'count' of some form or fasion) does not adhere to some of those Method's expectations or requirementsNoMatchException When aStringparsing method intends for a particular Regular-Expression to match aString, but the match fails, then this exception may be thrownParallelArrayException This may be used to check that array have equal lengths - if two or more arrays are expected to be parallel, but their lengths are not equal, then this exception should be thrownRegExException General purpose exception that may be used when a Regular Expression failsSameSourceAndTargetException Thrown when a move or copy operation has specified identicalsourceandtargetplaces on diskShouldHaveThrownException During Testing, any place where the nature of the test is to ensure that a piece of code is properly throwing an exception may utilize this exception to indicate that an exception didn't throw as expectedStrCmprException An exception that performs a little bit of passed-parameter checking for the classStrCmprStringFormatException General purpose exception used for poorly formattedString's, or for anyStringthat does not meet some (or any) expected design, protocol, format or criteriaToDoException This class is meant to inform a user that some code-exeuction path has a reached a point where the developer has not finished writing the Java that needs to run in order to complete whatever instructions the user is expecting to be runVarTypeParamException ThisExceptionclass is used internally for buildingCollectioninstances using thejava.lang.reflect.*package more smoothlyVarTypeAlreadyUsedException WritableDirectoryException Used by methods that accept'target directory'parameters to validate that the parameter's contents actually point to a both valid and writable location on diskWrongMethodException 💡 This exception is intended to run in the except same vein as Java's traditionalIllegalArgumentExceptionErrors Java Entity Description ArrayExpectedError Used when a parameter accepts an intance of'Object', but stipulates that this reference must be a reference to a primitive-arrayExceptionCheckError This class inherits class'Error'because it is intended to mean that a more serious problems has just occurredFriendClassError An exception that may be used in conjunction with the Friend-Class / Access-Badge Construct This Exception-Class is nothing more than a Glorified Version of thejavaUnreachableError If a code-block that was theoretically unreachable is actually reached, this error is a great class to make use-of during any debugging-phase of the development-process