- ENCODING - Static variable in class cz.muni.fi.lessappcache.filesystem.FileUtils
-
Encoding of loaded files
- END - Static variable in class cz.muni.fi.lessappcache.parser.modules.ModulePhases
-
After resources (currently not usable as parsing ends by resource modules)
- equals(Object) - Method in class cz.muni.fi.lessappcache.importer.ImportedFile
-
- equals(Object) - Method in class cz.muni.fi.lessappcache.parser.modules.AbstractModule
-
- equals(Object) - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
-
- execute(String[], Path) - Method in class cz.muni.fi.lessappcache.filters.AbstractWalkDir
-
Executor of filter, walks given directory and finds all files matching pattern
- execute(String[], Path) - Method in class cz.muni.fi.lessappcache.filters.AbstractWalkTree
-
Executor of filter, walks given directory and its subdirectories and finds all files matching pattern
- execute(String[], Path) - Method in interface cz.muni.fi.lessappcache.filters.Filter
-
Executes the filter.
- execute(String[], Path) - Method in class cz.muni.fi.lessappcache.filters.GlobFilter
-
Executor of filter, walks given directory and finds all files matching given glob pattern
- execute(String[], Path) - Method in class cz.muni.fi.lessappcache.filters.RegexFilter
-
Executor of filter, walks given directory and finds all files matching given regex pattern
- execute(String[], Path) - Method in class cz.muni.fi.lessappcache.filters.RGlobFilter
-
Executor of filter, walks given directory and its subdirectories and finds all files matching given glob pattern
- execute(String[], Path) - Method in class cz.muni.fi.lessappcache.filters.RRegex
-
Executor of filter, walks given directory and its subdirectories and finds all files matching given regex pattern
- execute() - Method in class cz.muni.fi.lessappcache.parser.ManifestParser
-
This method serves for executing the parser function.
- ExplicitModule - Class in cz.muni.fi.lessappcache.parser.modules
-
Module parsing resources in explicit section.
- ExplicitModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.ExplicitModule
-
Constructs module and sets priority
- FallbackModule - Class in cz.muni.fi.lessappcache.parser.modules
-
Module parsing resources in fallback section.
- FallbackModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.FallbackModule
-
Constructs module and sets priority
- FileNotFoundException - Exception in cz.muni.fi.lessappcache.parser
-
Exception to be thrown when given resource was not found.
- FileNotFoundException() - Constructor for exception cz.muni.fi.lessappcache.parser.FileNotFoundException
-
Empty constructor
- FileNotFoundException(String) - Constructor for exception cz.muni.fi.lessappcache.parser.FileNotFoundException
-
Constructs exception with the message
- FileNotFoundException(String, Throwable) - Constructor for exception cz.muni.fi.lessappcache.parser.FileNotFoundException
-
Constructs the exception with message and cause
- FileNotFoundException(Throwable) - Constructor for exception cz.muni.fi.lessappcache.parser.FileNotFoundException
-
Constructs the exception with cause of the exception
- FileUtils - Class in cz.muni.fi.lessappcache.filesystem
-
Util file for reading and writing files
- FileUtils() - Constructor for class cz.muni.fi.lessappcache.filesystem.FileUtils
-
- Filter - Interface in cz.muni.fi.lessappcache.filters
-
Filter interface.
- FilterClassLoader - Class in cz.muni.fi.lessappcache.filters
-
Class loader for filters.
- FilterClassLoader() - Constructor for class cz.muni.fi.lessappcache.filters.FilterClassLoader
-
Constructor of class loader
- FilterException - Exception in cz.muni.fi.lessappcache.filters
-
Exception should be thrown when an error while loading filter was encountered
- FilterException() - Constructor for exception cz.muni.fi.lessappcache.filters.FilterException
-
Empty constructor
- FilterException(String) - Constructor for exception cz.muni.fi.lessappcache.filters.FilterException
-
Constructs exception with the message
- FilterException(String, Throwable) - Constructor for exception cz.muni.fi.lessappcache.filters.FilterException
-
Constructs the exception with message and cause
- FilterException(Throwable) - Constructor for exception cz.muni.fi.lessappcache.filters.FilterException
-
Constructs the exception with cause of the exception
- FilterExecutionException - Exception in cz.muni.fi.lessappcache.filters
-
Exception should be thrown whenever instance of filter cannot continue its execution
because of any problem.
- FilterExecutionException() - Constructor for exception cz.muni.fi.lessappcache.filters.FilterExecutionException
-
Empty constructor
- FilterExecutionException(String) - Constructor for exception cz.muni.fi.lessappcache.filters.FilterExecutionException
-
Constructs exception with the message
- FilterExecutionException(String, Throwable) - Constructor for exception cz.muni.fi.lessappcache.filters.FilterExecutionException
-
Constructs the exception with message and cause
- FilterExecutionException(Throwable) - Constructor for exception cz.muni.fi.lessappcache.filters.FilterExecutionException
-
Constructs the exception with cause of the exception
- FilterFactory - Class in cz.muni.fi.lessappcache.filters
-
Factory for filters.
- FilterFactory() - Constructor for class cz.muni.fi.lessappcache.filters.FilterFactory
-
- FilterModule - Class in cz.muni.fi.lessappcache.parser.modules
-
Loads given filter defined by @filter and processes its parameters.
- FilterModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.FilterModule
-
Constructs module and sets priority
- Main - Class in cz.muni.fi.lessappcache
-
Main static class defined as executable in maven when JAR package is created
- Main() - Constructor for class cz.muni.fi.lessappcache.Main
-
- main(String[]) - Static method in class cz.muni.fi.lessappcache.Main
-
Main method must have at least one argument:
lesscache file - it is parsed against actual directory!
- ManifestParser - Class in cz.muni.fi.lessappcache.parser
-
The entry point of library.
- ManifestParser(Path) - Constructor for class cz.muni.fi.lessappcache.parser.ManifestParser
-
Constructor specifying fileName to be analyzed and parsed
- ManifestParser(String) - Constructor for class cz.muni.fi.lessappcache.parser.ManifestParser
-
Shorthand for path constructor
- Module - Interface in cz.muni.fi.lessappcache.parser.modules
-
Module interface describes modules in the application that are used to parse lines of lesscache files
- ModuleControl - Enum in cz.muni.fi.lessappcache.parser.modules
-
Defines behavior of parser when module execution has ended
- ModuleException - Exception in cz.muni.fi.lessappcache.parser.modules
-
This exception should be thrown whenever a module encounters unrecoverable problem .
- ModuleException() - Constructor for exception cz.muni.fi.lessappcache.parser.modules.ModuleException
-
Empty constructor
- ModuleException(String) - Constructor for exception cz.muni.fi.lessappcache.parser.modules.ModuleException
-
Constructs exception with the message
- ModuleException(String, Throwable) - Constructor for exception cz.muni.fi.lessappcache.parser.modules.ModuleException
-
Constructs the exception with message and cause
- ModuleException(Throwable) - Constructor for exception cz.muni.fi.lessappcache.parser.modules.ModuleException
-
Constructs the exception with cause of the exception
- ModuleLoader - Class in cz.muni.fi.lessappcache.parser.modules
-
ModuleLoader is responsible for managing modules in the application.
- ModuleLoader() - Constructor for class cz.muni.fi.lessappcache.parser.modules.ModuleLoader
-
- ModuleOutput - Class in cz.muni.fi.lessappcache.parser.modules
-
Class representing the output of modules.
- ModuleOutput() - Constructor for class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
-
- ModulePhases - Class in cz.muni.fi.lessappcache.parser.modules
-
Defines phases of module execution to enable other developers hook their methods in right order
- ModulePhases() - Constructor for class cz.muni.fi.lessappcache.parser.modules.ModulePhases
-
- parse(String, ParsingContext) - Method in class cz.muni.fi.lessappcache.parser.modules.CommentModule
-
- parse(String, ParsingContext) - Method in class cz.muni.fi.lessappcache.parser.modules.ExplicitModule
-
- parse(String, ParsingContext) - Method in class cz.muni.fi.lessappcache.parser.modules.FallbackModule
-
- parse(String, ParsingContext) - Method in class cz.muni.fi.lessappcache.parser.modules.FilterModule
-
- parse(String, ParsingContext) - Method in class cz.muni.fi.lessappcache.parser.modules.HeaderModule
-
- parse(String, ParsingContext) - Method in class cz.muni.fi.lessappcache.parser.modules.ImportModule
-
- parse(String, ParsingContext) - Method in interface cz.muni.fi.lessappcache.parser.modules.Module
-
Parses the line (if it meets its declared pattern).
- parse(String, ParsingContext) - Method in class cz.muni.fi.lessappcache.parser.modules.NetworkModule
-
- parse(String, ParsingContext) - Method in class cz.muni.fi.lessappcache.parser.modules.SettingsModule
-
- ParsingContext - Class in cz.muni.fi.lessappcache.parser
-
Instances of this class are sent to filters as they need to know in which mode (explicit, network,...) and context (relative path
to the first loaded file) it currently is. the output is a single file but resources can be imported from other files so relative
path has to be changed according to directory imported file is in.
- ParsingContext(Map<String, String>, String, Path) - Constructor for class cz.muni.fi.lessappcache.parser.ParsingContext
-
Constructor of parsing context
- PathUtils - Class in cz.muni.fi.lessappcache.filesystem
-
Utils for processing the paths or string representations of paths as needed
in the modules.
- PathUtils() - Constructor for class cz.muni.fi.lessappcache.filesystem.PathUtils
-
- PRE_COMMENT - Static variable in class cz.muni.fi.lessappcache.parser.modules.ModulePhases
-
After headers are parsed but before comments
- PRE_FILTER - Static variable in class cz.muni.fi.lessappcache.parser.modules.ModulePhases
-
After import but before filters
- PRE_IMPORT - Static variable in class cz.muni.fi.lessappcache.parser.modules.ModulePhases
-
After comments but before import
- PRE_RESOURCE - Static variable in class cz.muni.fi.lessappcache.parser.modules.ModulePhases
-
After filters but before resource (explicit, fallback, network and section)
- processFile() - Method in class cz.muni.fi.lessappcache.parser.ManifestParser
-
Processes lesscache file.
- processLine(String, Path, int) - Method in class cz.muni.fi.lessappcache.parser.ManifestParser
-
Processes line of the manifest file by executing module parsers.
- processResource(String, Path) - Static method in class cz.muni.fi.lessappcache.filesystem.PathUtils
-
Relativize the process against given context