A C E F G H I L M N P R S T V W 

A

AbstractModule - Class in cz.muni.fi.lessappcache.parser.modules
Abstract Module - any current module class inherits from it, defines equals and hashCode of modules
AbstractModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.AbstractModule
 
AbstractWalkDir - Class in cz.muni.fi.lessappcache.filters
Abstract class for listing contents of one directory
AbstractWalkDir() - Constructor for class cz.muni.fi.lessappcache.filters.AbstractWalkDir
 
AbstractWalkTree - Class in cz.muni.fi.lessappcache.filters
Abstract class for listing contents of directory tree
AbstractWalkTree() - Constructor for class cz.muni.fi.lessappcache.filters.AbstractWalkTree
 
ALL - Static variable in class cz.muni.fi.lessappcache.parser.modules.ModulePhases
array of described phases

C

CommentModule - Class in cz.muni.fi.lessappcache.parser.modules
Module parsing blank lines and comments
CommentModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.CommentModule
Constructs module and sets priority
cz.muni.fi.lessappcache - package cz.muni.fi.lessappcache
 
cz.muni.fi.lessappcache.filesystem - package cz.muni.fi.lessappcache.filesystem
 
cz.muni.fi.lessappcache.filters - package cz.muni.fi.lessappcache.filters
 
cz.muni.fi.lessappcache.importer - package cz.muni.fi.lessappcache.importer
 
cz.muni.fi.lessappcache.parser - package cz.muni.fi.lessappcache.parser
 
cz.muni.fi.lessappcache.parser.modules - package cz.muni.fi.lessappcache.parser.modules
 

E

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

F

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

G

getContext() - Method in class cz.muni.fi.lessappcache.parser.ParsingContext
Getter of context
getControl() - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
Defines further processing of output lines, more info at ModuleOutput
getFilePath() - Method in class cz.muni.fi.lessappcache.importer.ImportedFile
Getter for filePath
getFilePath() - Method in class cz.muni.fi.lessappcache.parser.ManifestParser
Getter of filePath
getFilterInstance(String) - Static method in class cz.muni.fi.lessappcache.filters.FilterFactory
Loads given filter by name.
getLines() - Method in class cz.muni.fi.lessappcache.importer.ImportedFile
Getter for lines
getLoadedResources() - Method in class cz.muni.fi.lessappcache.parser.ManifestParser
getter of loaded resources
getLoadedResources() - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
Getter of newly loaded resources
getLoadedResources() - Method in class cz.muni.fi.lessappcache.parser.ParsingContext
Getter for loadedResources
getMode() - Method in class cz.muni.fi.lessappcache.parser.ManifestParser
Getter of current mode
getMode() - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
Getter of parser mode
getMode() - Method in class cz.muni.fi.lessappcache.parser.ParsingContext
getter of mode
getOutput() - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
List of produced lines
getParent(Path) - Static method in class cz.muni.fi.lessappcache.filesystem.PathUtils
Constructs a relative path between two folders.
getPriority() - Method in class cz.muni.fi.lessappcache.parser.modules.AbstractModule
 
getPriority() - Method in interface cz.muni.fi.lessappcache.parser.modules.Module
Gets priority in which the modules should be executed.
GlobFilter - Class in cz.muni.fi.lessappcache.filters
Filter for listing contents of one directory matching given glob pattern called as @glob path pattern
GlobFilter() - Constructor for class cz.muni.fi.lessappcache.filters.GlobFilter
 

H

hashCode() - Method in class cz.muni.fi.lessappcache.importer.ImportedFile
 
hashCode() - Method in class cz.muni.fi.lessappcache.parser.modules.AbstractModule
 
hashCode() - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
 
HeaderModule - Class in cz.muni.fi.lessappcache.parser.modules
Parses declarations of headers.
HeaderModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.HeaderModule
Constructs module and sets priority

I

ImportedFile - Class in cz.muni.fi.lessappcache.importer
This class represents file loaded in the manifest parser containing its lines and path.
ImportedFile(Path) - Constructor for class cz.muni.fi.lessappcache.importer.ImportedFile
Contstructor of ImportedFile definig resource to be imported.
Importer - Class in cz.muni.fi.lessappcache.importer
Class for loading files to import in the manifest parser.
Importer() - Constructor for class cz.muni.fi.lessappcache.importer.Importer
 
importFile(String) - Static method in class cz.muni.fi.lessappcache.importer.Importer
 
importFile(Path) - Static method in class cz.muni.fi.lessappcache.importer.Importer
Imports given file in the application.
ImportModule - Class in cz.muni.fi.lessappcache.parser.modules
Handles import of other lesscache manifest files.
ImportModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.ImportModule
Constructs module and sets priority.
isAbsolute(String) - Static method in class cz.muni.fi.lessappcache.filesystem.PathUtils
Checks whether the resource is absolute (whether starts with "/")
isAbsoluteOrRemote(String) - Static method in class cz.muni.fi.lessappcache.filesystem.PathUtils
Helper method to discover whether given resource is absolute or remote.
isImported(Path) - Static method in class cz.muni.fi.lessappcache.importer.Importer
Method serves to detect whether given file is already imported
isImported(String) - Static method in class cz.muni.fi.lessappcache.importer.Importer
Method serves to detect whether given file is already imported shorthand for isImported(Paths.get(fileName))
isRemote(String) - Static method in class cz.muni.fi.lessappcache.filesystem.PathUtils
Checks whether the resource is remote (whether contains with "://")

L

load() - Static method in class cz.muni.fi.lessappcache.parser.modules.ModuleLoader
Loads all modules using ServiceLoader available on the classpath and sorts them in correct order to enable parsing each line by the modules
loadClass(String) - Method in class cz.muni.fi.lessappcache.filters.FilterClassLoader
 

M

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
 

N

NetworkModule - Class in cz.muni.fi.lessappcache.parser.modules
Parses resources in network section.
NetworkModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.NetworkModule
Constructs module and sets priority

P

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

R

readFile(Path) - Static method in class cz.muni.fi.lessappcache.filesystem.FileUtils
Reads file on given path.
RegexFilter - Class in cz.muni.fi.lessappcache.filters
Filter for listing contents of one directory matching given regex pattern called as @regex path pattern
RegexFilter() - Constructor for class cz.muni.fi.lessappcache.filters.RegexFilter
 
RGlobFilter - Class in cz.muni.fi.lessappcache.filters
Filter for listing contents of directory tree matching given glob filter called as @r-glob path pattern
RGlobFilter() - Constructor for class cz.muni.fi.lessappcache.filters.RGlobFilter
 
RRegex - Class in cz.muni.fi.lessappcache.filters
Filter for listing contents of directory tree matching given regex filter called as @r-regex path pattern
RRegex() - Constructor for class cz.muni.fi.lessappcache.filters.RRegex
 

S

setAbsolute(String) - Method in class cz.muni.fi.lessappcache.parser.ManifestParser
Setter for absolute.
setContext(Path) - Method in class cz.muni.fi.lessappcache.parser.ParsingContext
Setter for context
setControl(ModuleControl) - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
Setter of module control
setFilePath(Path) - Method in class cz.muni.fi.lessappcache.importer.ImportedFile
Setter for filePath
setLines(List<String>) - Method in class cz.muni.fi.lessappcache.importer.ImportedFile
Setter for lines
setLoadedResources(Map<String, String>) - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
Setter for newly loaded resources
setLoadedResources(Map<String, String>) - Method in class cz.muni.fi.lessappcache.parser.ParsingContext
Setter of loaded resources
setMode(String) - Method in class cz.muni.fi.lessappcache.parser.ManifestParser
Setter of current mode
setMode(String) - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
Setter for parser mode
setMode(String) - Method in class cz.muni.fi.lessappcache.parser.ParsingContext
Setter for mode
setPriority(double) - Method in class cz.muni.fi.lessappcache.parser.modules.AbstractModule
 
setPriority(double) - Method in interface cz.muni.fi.lessappcache.parser.modules.Module
Sets priority in which the modules should be executed.
SettingsModule - Class in cz.muni.fi.lessappcache.parser.modules
Module for parsing resources in SETTINGS: section.
SettingsModule() - Constructor for class cz.muni.fi.lessappcache.parser.modules.SettingsModule
Constructs module, sets priority and define possible settings
START - Static variable in class cz.muni.fi.lessappcache.parser.modules.ModulePhases
Before any other module

T

toString() - Method in class cz.muni.fi.lessappcache.parser.modules.ModuleOutput
 

V

valueOf(String) - Static method in enum cz.muni.fi.lessappcache.parser.modules.ModuleControl
Returns the enum constant of this type with the specified name.
values() - Static method in enum cz.muni.fi.lessappcache.parser.modules.ModuleControl
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeFile(List<String>, Path) - Static method in class cz.muni.fi.lessappcache.filesystem.FileUtils
Writes lines to file on given path
A C E F G H I L M N P R S T V W 

Copyright © 2013. All Rights Reserved.