Modifier and Type | Method and Description |
---|---|
JCPreprocessor.PreprocessingStatistics |
JCPreprocessor.execute() |
static Iterable<CommandLineHandler> |
JCPreprocessor.getCommandLineHandlers() |
PreprocessorContext |
JCPreprocessor.getContext() |
static String |
InfoHelper.getCopyright() |
static String |
InfoHelper.getProductName() |
static String |
InfoHelper.getSite() |
static String |
InfoHelper.getVersion() |
static List<String> |
InfoHelper.makeTextForHelpInfo() |
Modifier and Type | Method and Description |
---|---|
static void |
JCPreprocessor.main(String... args) |
Constructor and Description |
---|
JCPreprocessor(PreprocessorContext context) |
Modifier and Type | Method and Description |
---|---|
PreprocessTask.CfgFile |
PreprocessTask.createCfgFile() |
PreprocessTask.Global |
PreprocessTask.createGlobal() |
Value |
PreprocessTask.getVariable(String varName,
PreprocessorContext context) |
String[] |
PreprocessTask.getVariableNames() |
Modifier and Type | Method and Description |
---|---|
Value |
PreprocessTask.getVariable(String varName,
PreprocessorContext context) |
Value |
PreprocessTask.getVariable(String varName,
PreprocessorContext context) |
void |
PreprocessTask.setDestination(File dst)
Set the "destination" attribute, it allows to define the destination directory where the preprocessed files will be placed in
|
void |
PreprocessTask.setExcluded(String ext)
Set the "excluded" attribute, it defines the excluded file extensions which will be ignored by the preprocessor in its work (also those files will not be copied)
|
void |
PreprocessTask.setExcludedFolders(String value)
Set the "excludedfolders" attribute, sub-folders in source folders to be excluded from preprocessing, ANT patterns allowed, ${path.separator} should be used for multiple items
|
void |
PreprocessTask.CfgFile.setFile(File file) |
void |
PreprocessTask.setInCharset(String charSet)
Set the "inCharset" attribute, it allows to define the text encoding for the reading text files
|
void |
PreprocessTask.Global.setName(String name) |
void |
PreprocessTask.setOutCharset(String charSet)
Set the "outCharset" attribute, it allows to define the text encoding for the writing text files
|
void |
PreprocessTask.setProcessing(String ext)
Set the "processing" attribute, it defines the file extensions to be processed
|
void |
PreprocessTask.setSource(File src)
Set the "source" attribute, it allows to define the source directory to be preprocessed
|
void |
PreprocessTask.Global.setValue(String value) |
void |
PreprocessTask.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
PreprocessTask.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
PreprocessTask.setVariable(String varName,
Value value,
PreprocessorContext context) |
Modifier and Type | Method and Description |
---|---|
String |
FileExtensionsHandler.getDescription() |
String |
VerboseHandler.getDescription() |
String |
InCharsetHandler.getDescription() |
String |
SourceDirectoryHandler.getDescription() |
String |
PreserveIndentDirectiveHandler.getDescription() |
String |
DestinationDirectoryHandler.getDescription() |
String |
CommandLineHandler.getDescription()
Get the description of the key (it will be printed into the help text)
|
String |
AllowWhitespaceDirectiveHandler.getDescription() |
String |
ExcludedFileExtensionsHandler.getDescription() |
String |
KeepLineHandler.getDescription() |
String |
CompareDestinationContentHandler.getDescription() |
String |
RemoveCommentsHandler.getDescription() |
String |
ExcludeFoldersHandler.getDescription() |
String |
UnknownAsFalseHandler.getDescription() |
String |
CareForLastNextLineCharHandler.getDescription() |
String |
OutCharsetHandler.getDescription() |
String |
ClearDstDirectoryHandler.getDescription() |
String |
HelpHandler.getDescription() |
String |
CopyFileAttributesHandler.getDescription() |
String |
GlobalVariableHandler.getDescription() |
String |
GlobalVariableDefiningFileHandler.getDescription() |
String |
FileExtensionsHandler.getKeyName() |
String |
VerboseHandler.getKeyName() |
String |
InCharsetHandler.getKeyName() |
String |
SourceDirectoryHandler.getKeyName() |
String |
PreserveIndentDirectiveHandler.getKeyName() |
String |
DestinationDirectoryHandler.getKeyName() |
String |
CommandLineHandler.getKeyName()
Get the key name for the handler
|
String |
AllowWhitespaceDirectiveHandler.getKeyName() |
String |
ExcludedFileExtensionsHandler.getKeyName() |
String |
KeepLineHandler.getKeyName() |
String |
CompareDestinationContentHandler.getKeyName() |
String |
RemoveCommentsHandler.getKeyName() |
String |
ExcludeFoldersHandler.getKeyName() |
String |
UnknownAsFalseHandler.getKeyName() |
String |
CareForLastNextLineCharHandler.getKeyName() |
String |
OutCharsetHandler.getKeyName() |
String |
ClearDstDirectoryHandler.getKeyName() |
String |
HelpHandler.getKeyName() |
String |
CopyFileAttributesHandler.getKeyName() |
String |
GlobalVariableHandler.getKeyName() |
String |
GlobalVariableDefiningFileHandler.getKeyName() |
Modifier and Type | Method and Description |
---|---|
boolean |
FileExtensionsHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
FileExtensionsHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
VerboseHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
VerboseHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
InCharsetHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
InCharsetHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
SourceDirectoryHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
SourceDirectoryHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
PreserveIndentDirectiveHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
PreserveIndentDirectiveHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
DestinationDirectoryHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
DestinationDirectoryHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
CommandLineHandler.processCommandLineKey(String key,
PreprocessorContext context)
Process a command line key
|
boolean |
CommandLineHandler.processCommandLineKey(String key,
PreprocessorContext context)
Process a command line key
|
boolean |
AllowWhitespaceDirectiveHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
AllowWhitespaceDirectiveHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
ExcludedFileExtensionsHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
ExcludedFileExtensionsHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
KeepLineHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
KeepLineHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
CompareDestinationContentHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
CompareDestinationContentHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
RemoveCommentsHandler.processCommandLineKey(String argument,
PreprocessorContext configurator) |
boolean |
RemoveCommentsHandler.processCommandLineKey(String argument,
PreprocessorContext configurator) |
boolean |
ExcludeFoldersHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
ExcludeFoldersHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
UnknownAsFalseHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
UnknownAsFalseHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
CareForLastNextLineCharHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
CareForLastNextLineCharHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
OutCharsetHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
OutCharsetHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
ClearDstDirectoryHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
ClearDstDirectoryHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
HelpHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
HelpHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
CopyFileAttributesHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
CopyFileAttributesHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
GlobalVariableHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
GlobalVariableHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
GlobalVariableDefiningFileHandler.processCommandLineKey(String key,
PreprocessorContext context) |
boolean |
GlobalVariableDefiningFileHandler.processCommandLineKey(String key,
PreprocessorContext context) |
Modifier and Type | Method and Description |
---|---|
String |
FileInfoContainer.getDestinationDir() |
String |
FileInfoContainer.getDestinationFilePath() |
String |
FileInfoContainer.getDestinationName() |
File |
TextFileDataContainer.getFile() |
File |
FileInfoContainer.getSourceFile() |
String[] |
TextFileDataContainer.getText() |
PreprocessingState |
FileInfoContainer.preprocessFile(PreprocessingState state,
PreprocessorContext context)
Preprocess file, NB! it doesn't clear local variables automatically for cloned contexts
|
protected AfterDirectiveProcessingBehaviour |
FileInfoContainer.processDirective(PreprocessingState state,
String directiveString,
PreprocessorContext context,
boolean firstPass) |
List<PreprocessingState.ExcludeIfInfo> |
FileInfoContainer.processGlobalDirectives(PreprocessingState state,
PreprocessorContext context) |
String |
FileInfoContainer.toString() |
Modifier and Type | Method and Description |
---|---|
PreprocessingState |
FileInfoContainer.preprocessFile(PreprocessingState state,
PreprocessorContext context)
Preprocess file, NB! it doesn't clear local variables automatically for cloned contexts
|
protected AfterDirectiveProcessingBehaviour |
FileInfoContainer.processDirective(PreprocessingState state,
String directiveString,
PreprocessorContext context,
boolean firstPass) |
protected AfterDirectiveProcessingBehaviour |
FileInfoContainer.processDirective(PreprocessingState state,
String directiveString,
PreprocessorContext context,
boolean firstPass) |
protected AfterDirectiveProcessingBehaviour |
FileInfoContainer.processDirective(PreprocessingState state,
String directiveString,
PreprocessorContext context,
boolean firstPass) |
List<PreprocessingState.ExcludeIfInfo> |
FileInfoContainer.processGlobalDirectives(PreprocessingState state,
PreprocessorContext context) |
void |
FileInfoContainer.setDestinationDir(String destDir) |
void |
FileInfoContainer.setDestinationName(String destName) |
Constructor and Description |
---|
FileInfoContainer(File srcFile,
String dstFileName,
boolean copyOnly) |
FileInfoContainer(File srcFile,
String dstFileName,
boolean copyOnly) |
TextFileDataContainer(File currentFile,
String[] text,
boolean fileEndedByNextLine,
int stringIndex) |
TextFileDataContainer(File currentFile,
String[] text,
boolean fileEndedByNextLine,
int stringIndex) |
TextFileDataContainer(TextFileDataContainer item,
int stringIndex) |
Modifier and Type | Method and Description |
---|---|
PreprocessorContext |
PreprocessorContext.clearLocalVariables()
Remove all local variables from the inside storage
|
File |
PreprocessorContext.createDestinationFileForPath(String path)
It allows to create a File object for its path subject to the destination directory path
|
File |
PreprocessorContext.findFileInSourceFolder(String path)
It finds a file for its path among files in source folder, it is prohibited to return files out of preprocessing folders.
|
String |
PreprocessingState.ExcludeIfInfo.getCondition() |
File[] |
PreprocessorContext.getConfigFiles()
Get array of current registered configuration files
|
String |
PreprocessorContext.getDestinationDirectory()
Get the string representation of the destination directory
|
File |
PreprocessorContext.getDestinationDirectoryAsFile()
Get the current destination directory as a File object
|
String[] |
PreprocessorContext.getExcludedFileExtensions()
Get excluded file extension list as a string array
|
String[] |
PreprocessorContext.getExcludedFolderPatterns()
Get patterns for excluded folders.
|
FileInfoContainer |
PreprocessingState.ExcludeIfInfo.getFileInfoContainer() |
String |
PreprocessorContext.getInCharacterEncoding()
Get the current character encoding for text reading
|
String |
JCPSpecialVariableProcessor.NameReferencePair.getName() |
String |
PreprocessorContext.getOutCharacterEncoding()
Get the current character encoding for text writing
|
Set<PreprocessingFlag> |
PreprocessingState.getPreprocessingFlags() |
PreprocessingState |
PreprocessorContext.getPreprocessingState()
Get the last generated preprocessing state, it is the current one
|
String[] |
PreprocessorContext.getProcessingFileExtensions()
Get file extensions of files to be preprocessed as a string array
|
static List<JCPSpecialVariableProcessor.NameReferencePair> |
JCPSpecialVariableProcessor.getReference() |
String |
JCPSpecialVariableProcessor.NameReferencePair.getReference() |
FileInfoContainer |
PreprocessingState.getRootFileInfo() |
TextFileDataContainer |
PreprocessingState.getRootTextContainer() |
String |
PreprocessorContext.getSourceDirectories()
Get the source directories as semi separated string
|
File[] |
PreprocessorContext.getSourceDirectoryAsFiles()
Get the current source directories as a file array
|
Value |
SpecialVariableProcessor.getVariable(String varName,
PreprocessorContext context)
Get the value for the variable
|
String[] |
EnvironmentVariableProcessor.getVariableNames() |
String[] |
JCPSpecialVariableProcessor.getVariableNames() |
String[] |
SpecialVariableProcessor.getVariableNames()
Get all variable names allowed by the processor as an array, all names must
be in lower case
|
PreprocessingState |
PreprocessingState.goToString(int stringIndex) |
PreprocessorException |
PreprocessingState.makeException(String message,
String causeString,
Throwable cause) |
PreprocessorException |
PreprocessorContext.makeException(String text,
Throwable cause)
Prepare exception with message and cause, or return cause if it is a preprocessor exception
|
FilePositionInfo[] |
PreprocessingState.makeIncludeStack() |
TextFileDataContainer |
PreprocessingState.openFile(File file) |
List<PreprocessingState.ExcludeIfInfo> |
PreprocessingState.popAllExcludeIfInfoData() |
PreprocessingState.ExcludeIfInfo |
PreprocessingState.popExcludeIfData() |
PreprocessingState |
PreprocessingState.popIf() |
TextFileDataContainer |
PreprocessingState.popTextContainer() |
PreprocessingState |
PreprocessingState.popWhile() |
PreprocessingState |
PreprocessorContext.produceNewPreprocessingState(FileInfoContainer fileContainer,
int phaseIndex)
Generate new preprocessing state object, also the new preprocessing state will be saved as the current one in the context
|
PreprocessingState |
PreprocessorContext.produceNewPreprocessingState(FileInfoContainer fileContainer,
TextFileDataContainer textContainer)
Generate new preprocessing state for a file container and a text container, also the new preprocessing state will be saved as the current one in the context
|
PreprocessingState |
PreprocessingState.pushIf(boolean makeActive) |
PreprocessingState |
PreprocessingState.pushWhile(boolean makeActive) |
PreprocessorContext |
PreprocessorContext.removeGlobalVariable(String name)
Remove a global variable value from the context.
|
PreprocessorContext |
PreprocessorContext.removeLocalVariable(String name)
Remove a local variable value from the context.
|
PreprocessorContext |
PreprocessorContext.setClearDestinationDirBefore(boolean flag)
Set the flag to clear the destination directory before preprocessing
|
PreprocessorContext |
PreprocessorContext.setCompareDestination(boolean flag)
Set the flag to check before saving if the content changed.
|
PreprocessorContext |
PreprocessorContext.setCopyFileAttributes(boolean value)
Set the flag to copy file attributes.
|
PreprocessorContext |
PreprocessorContext.setDestinationDirectory(String directory)
Set a destination directory for result files
|
PreprocessorContext |
PreprocessorContext.setExcludedFileExtensions(String extensions)
Set comma separated list of file extensions to be excluded from preprocessing
|
PreprocessorContext |
PreprocessorContext.setGlobalVariable(String name,
Value value)
Set a global variable value
|
PreprocessorContext |
PreprocessorContext.setInCharacterEncoding(String characterEncoding)
Set the character encoding for reading texts, it must be supported by the Java platform else an exception will be thrown
|
PreprocessorContext |
PreprocessorContext.setKeepLines(boolean flag)
Set the flag to keep lines as commented ones
|
PreprocessorContext |
PreprocessorContext.setLocalVariable(String name,
Value value)
Set a local variable value
|
PreprocessorContext |
PreprocessorContext.setOutCharacterEncoding(String characterEncoding)
Set the output texts character encoding, it must be supported by the Java platform else an exception will be thrown
|
PreprocessorContext |
PreprocessorContext.setPreprocessorExtension(PreprocessorExtension extension)
Set a preprocessor extension, it is a module implements the PreprocessorExtension interface which can process and get some calls from a preprocessor during its work
|
PreprocessorContext |
PreprocessorContext.setProcessingFileExtensions(String extensions)
Set file extensions of files to be preprocessed, it is a comma separated list
|
PreprocessorContext |
PreprocessorContext.setRemoveComments(boolean removingComments)
Set the remove comments flag
|
PreprocessorContext |
PreprocessorContext.setSourceDirectories(String directories)
Set source directories
|
PreprocessorContext |
PreprocessorContext.setVerbose(boolean flag)
Set the verbose flag
|
Writer |
PreprocessingState.writePrinterBuffers(Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
PreprocessorContext.addConfigFile(File file)
Add a configuration file, it is a file which contains directives and global variable definitions
|
File |
PreprocessorContext.createDestinationFileForPath(String path)
It allows to create a File object for its path subject to the destination directory path
|
File |
PreprocessorContext.findFileInSourceFolder(String path)
It finds a file for its path among files in source folder, it is prohibited to return files out of preprocessing folders.
|
Object |
PreprocessorContext.getSharedResource(String name)
Get a shared source from inside map
|
Value |
EnvironmentVariableProcessor.getVariable(String varName,
PreprocessorContext context) |
Value |
EnvironmentVariableProcessor.getVariable(String varName,
PreprocessorContext context) |
Value |
JCPSpecialVariableProcessor.getVariable(String varName,
PreprocessorContext context) |
Value |
JCPSpecialVariableProcessor.getVariable(String varName,
PreprocessorContext context) |
Value |
SpecialVariableProcessor.getVariable(String varName,
PreprocessorContext context)
Get the value for the variable
|
void |
PreprocessorContext.logForVerbose(String str) |
PreprocessorException |
PreprocessorContext.makeException(String text,
Throwable cause)
Prepare exception with message and cause, or return cause if it is a preprocessor exception
|
TextFileDataContainer |
PreprocessingState.openFile(File file) |
void |
PreprocessingState.popAllIFUntilContainerWithFile(TextFileDataContainer container) |
PreprocessingState |
PreprocessorContext.produceNewPreprocessingState(FileInfoContainer fileContainer,
int phaseIndex)
Generate new preprocessing state object, also the new preprocessing state will be saved as the current one in the context
|
PreprocessingState |
PreprocessorContext.produceNewPreprocessingState(FileInfoContainer fileContainer,
TextFileDataContainer textContainer)
Generate new preprocessing state for a file container and a text container, also the new preprocessing state will be saved as the current one in the context
|
PreprocessingState |
PreprocessorContext.produceNewPreprocessingState(FileInfoContainer fileContainer,
TextFileDataContainer textContainer)
Generate new preprocessing state for a file container and a text container, also the new preprocessing state will be saved as the current one in the context
|
void |
PreprocessingState.pushExcludeIfData(FileInfoContainer infoContainer,
String excludeIfCondition,
int stringIndex) |
void |
PreprocessingState.pushExcludeIfData(FileInfoContainer infoContainer,
String excludeIfCondition,
int stringIndex) |
void |
PreprocessorContext.registerSpecialVariableProcessor(SpecialVariableProcessor processor)
It allows to register a special variable processor which can process some special global variables
|
PreprocessorContext |
PreprocessorContext.removeGlobalVariable(String name)
Remove a global variable value from the context.
|
PreprocessorContext |
PreprocessorContext.removeLocalVariable(String name)
Remove a local variable value from the context.
|
Object |
PreprocessorContext.removeSharedResource(String name)
Remove a shared object from the inside map for its name
|
boolean |
PreprocessingState.saveBuffersToFile(File outFile,
boolean removeComments) |
void |
PreprocessingState.saveBuffersToStreams(OutputStream prefix,
OutputStream normal,
OutputStream postfix) |
void |
PreprocessingState.saveBuffersToStreams(OutputStream prefix,
OutputStream normal,
OutputStream postfix) |
void |
PreprocessingState.saveBuffersToStreams(OutputStream prefix,
OutputStream normal,
OutputStream postfix) |
PreprocessorContext |
PreprocessorContext.setDestinationDirectory(String directory)
Set a destination directory for result files
|
PreprocessorContext |
PreprocessorContext.setExcludedFileExtensions(String extensions)
Set comma separated list of file extensions to be excluded from preprocessing
|
void |
PreprocessorContext.setExcludedFolderPatterns(String... patterns)
Set patterns for excluded folders.
|
PreprocessorContext |
PreprocessorContext.setGlobalVariable(String name,
Value value)
Set a global variable value
|
PreprocessorContext |
PreprocessorContext.setGlobalVariable(String name,
Value value)
Set a global variable value
|
PreprocessorContext |
PreprocessorContext.setInCharacterEncoding(String characterEncoding)
Set the character encoding for reading texts, it must be supported by the Java platform else an exception will be thrown
|
PreprocessorContext |
PreprocessorContext.setLocalVariable(String name,
Value value)
Set a local variable value
|
PreprocessorContext |
PreprocessorContext.setLocalVariable(String name,
Value value)
Set a local variable value
|
PreprocessorContext |
PreprocessorContext.setOutCharacterEncoding(String characterEncoding)
Set the output texts character encoding, it must be supported by the Java platform else an exception will be thrown
|
void |
PreprocessingState.setPrinter(PreprocessingState.PrinterType type) |
PreprocessorContext |
PreprocessorContext.setProcessingFileExtensions(String extensions)
Set file extensions of files to be preprocessed, it is a comma separated list
|
void |
PreprocessorContext.setSharedResource(String name,
Object obj)
Set a shared source, it is an object saved into the inside map for a name
|
void |
PreprocessorContext.setSharedResource(String name,
Object obj)
Set a shared source, it is an object saved into the inside map for a name
|
PreprocessorContext |
PreprocessorContext.setSourceDirectories(String directories)
Set source directories
|
void |
EnvironmentVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
EnvironmentVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
EnvironmentVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
JCPSpecialVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
JCPSpecialVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
JCPSpecialVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
SpecialVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context)
Set a value to the variable
|
void |
SpecialVariableProcessor.setVariable(String varName,
Value value,
PreprocessorContext context)
Set a value to the variable
|
Writer |
PreprocessingState.writePrinterBuffers(Writer writer) |
Constructor and Description |
---|
ExcludeIfInfo(FileInfoContainer fileInfoContainer,
String condition,
int stringIndex) |
ExcludeIfInfo(FileInfoContainer fileInfoContainer,
String condition,
int stringIndex) |
PreprocessorContext(PreprocessorContext context)
Make clone of a preprocessor context but without cloning state.
|
Modifier and Type | Method and Description |
---|---|
AfterDirectiveProcessingBehaviour |
EchoDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
DefineDirectiveHandler.execute(String rawTail,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
EndDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
EndIfDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
GlobalDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
GlobalEndIfDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
GlobalElseDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
IfDefinedDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
ExitDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
ExcludeIfDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
FlushDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
ErrorDirectiveHandler.execute(String trimmedString,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
MsgDirectiveHandler.execute(String rawTail,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
GlobalIfDirectiveHandler.execute(String string,
PreprocessorContext context) |
abstract AfterDirectiveProcessingBehaviour |
AbstractDirectiveHandler.execute(String tailString,
PreprocessorContext context)
Execute directive
|
AfterDirectiveProcessingBehaviour |
LocalDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
ActionDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
OutEnabledDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
CommentNextLineDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
AbortDirectiveHandler.execute(String rawTail,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
OutDisabledDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
OutDirDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
BreakDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
WhileDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
IncludeDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
NoAutoFlushHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
PrefixDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
IfDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
ContinueDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
ElseDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
OutNameDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
PostfixDirectiveHandler.execute(String string,
PreprocessorContext context) |
AfterDirectiveProcessingBehaviour |
ExitIfDirectiveHandler.execute(String string,
PreprocessorContext context) |
DirectiveArgumentType |
EchoDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
DefineDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
IfDefDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
GlobalDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
IfDefinedDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
ExcludeIfDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
ErrorDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
MsgDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
GlobalIfDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
AbstractDirectiveHandler.getArgumentType()
Get the argument type needed by the directive
|
DirectiveArgumentType |
LocalDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
ActionDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
OutEnabledDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
AbortDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
OutDisabledDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
OutDirDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
WhileDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
IncludeDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
PrefixDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
IfDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
OutNameDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
PostfixDirectiveHandler.getArgumentType() |
DirectiveArgumentType |
ExitIfDirectiveHandler.getArgumentType() |
String |
DirectiveArgumentType.getAsText() |
String |
AbstractDirectiveHandler.getFullName()
Get the directive name with prefix
|
String |
EchoDirectiveHandler.getName() |
String |
DefineDirectiveHandler.getName() |
String |
UndefDirectiveHandler.getName() |
String |
EndDirectiveHandler.getName() |
String |
IfDefDirectiveHandler.getName() |
String |
EndIfDirectiveHandler.getName() |
String |
GlobalDirectiveHandler.getName() |
String |
GlobalEndIfDirectiveHandler.getName() |
String |
GlobalElseDirectiveHandler.getName() |
String |
IfDefinedDirectiveHandler.getName() |
String |
ExitDirectiveHandler.getName() |
String |
ExcludeIfDirectiveHandler.getName() |
String |
FlushDirectiveHandler.getName() |
String |
ErrorDirectiveHandler.getName() |
String |
MsgDirectiveHandler.getName() |
String |
GlobalIfDirectiveHandler.getName() |
abstract String |
AbstractDirectiveHandler.getName()
Get the name of the directive without prefix
|
String |
LocalDirectiveHandler.getName() |
String |
ActionDirectiveHandler.getName() |
String |
DefinelDirectiveHandler.getName() |
String |
OutEnabledDirectiveHandler.getName() |
String |
CommentNextLineDirectiveHandler.getName() |
String |
AbortDirectiveHandler.getName() |
String |
OutDisabledDirectiveHandler.getName() |
String |
OutDirDirectiveHandler.getName() |
String |
BreakDirectiveHandler.getName() |
String |
WhileDirectiveHandler.getName() |
String |
IncludeDirectiveHandler.getName() |
String |
IfNDefDirectiveHandler.getName() |
String |
NoAutoFlushHandler.getName() |
String |
PrefixDirectiveHandler.getName() |
String |
WarningDirectiveHandler.getName() |
String |
IfDirectiveHandler.getName() |
String |
ContinueDirectiveHandler.getName() |
String |
ElseDirectiveHandler.getName() |
String |
OutNameDirectiveHandler.getName() |
String |
PostfixDirectiveHandler.getName() |
String |
ExitIfDirectiveHandler.getName() |
String |
EchoDirectiveHandler.getReference() |
String |
DefineDirectiveHandler.getReference() |
String |
UndefDirectiveHandler.getReference() |
String |
EndDirectiveHandler.getReference() |
String |
IfDefDirectiveHandler.getReference() |
String |
EndIfDirectiveHandler.getReference() |
String |
GlobalDirectiveHandler.getReference() |
String |
GlobalEndIfDirectiveHandler.getReference() |
String |
GlobalElseDirectiveHandler.getReference() |
String |
IfDefinedDirectiveHandler.getReference() |
String |
ExitDirectiveHandler.getReference() |
String |
ExcludeIfDirectiveHandler.getReference() |
String |
FlushDirectiveHandler.getReference() |
String |
ErrorDirectiveHandler.getReference() |
String |
MsgDirectiveHandler.getReference() |
String |
GlobalIfDirectiveHandler.getReference() |
abstract String |
AbstractDirectiveHandler.getReference()
Get the directive reference, it will be printed for a help request
|
String |
LocalDirectiveHandler.getReference() |
String |
ActionDirectiveHandler.getReference() |
String |
DefinelDirectiveHandler.getReference() |
String |
OutEnabledDirectiveHandler.getReference() |
String |
CommentNextLineDirectiveHandler.getReference() |
String |
AbortDirectiveHandler.getReference() |
String |
OutDisabledDirectiveHandler.getReference() |
String |
OutDirDirectiveHandler.getReference() |
String |
BreakDirectiveHandler.getReference() |
String |
WhileDirectiveHandler.getReference() |
String |
IncludeDirectiveHandler.getReference() |
String |
IfNDefDirectiveHandler.getReference() |
String |
NoAutoFlushHandler.getReference() |
String |
PrefixDirectiveHandler.getReference() |
String |
WarningDirectiveHandler.getReference() |
String |
IfDirectiveHandler.getReference() |
String |
ContinueDirectiveHandler.getReference() |
String |
ElseDirectiveHandler.getReference() |
String |
OutNameDirectiveHandler.getReference() |
String |
PostfixDirectiveHandler.getReference() |
String |
ExitIfDirectiveHandler.getReference() |
Modifier and Type | Method and Description |
---|---|
File |
FilePositionInfo.getFile() |
FilePositionInfo[] |
PreprocessorException.getIncludeChain() |
static String |
PreprocessorException.referenceAsString(char fillChar,
Throwable thr) |
String |
PreprocessorException.toString() |
String |
FilePositionInfo.toString() |
Constructor and Description |
---|
FilePositionInfo(File file,
int stringIndex) |
Modifier and Type | Method and Description |
---|---|
ExpressionTreeElement |
ExpressionTreeElement.addSubTree(ExpressionTree tree)
Add a tree as new child and make the maximum priority for it
|
Boolean |
Value.asBoolean() |
Float |
Value.asFloat() |
Long |
Value.asLong() |
String |
Value.asString() |
static Value |
Expression.evalExpression(String expression,
PreprocessorContext context)
Evaluate expression
|
static Value |
Expression.evalTree(ExpressionTree tree,
PreprocessorContext context)
Evaluate an expression tree
|
ExpressionTreeElement |
ExpressionTreeElement.getChildForIndex(int index)
Get the child element for its index (the first is 0)
|
ExpressionItemPriority |
Value.getExpressionItemPriority() |
ExpressionItemPriority |
ExpressionItem.getExpressionItemPriority()
Get the priority of the item
|
ExpressionItemPriority |
Variable.getExpressionItemPriority()
Get the expression item priority
|
ExpressionItemType |
Value.getExpressionItemType() |
ExpressionItemType |
ExpressionItem.getExpressionItemType()
Get the type of the item
|
ExpressionItemType |
Variable.getExpressionItemType()
Get the expression item type
|
static ExpressionParser |
ExpressionParser.getInstance() |
ExpressionItem |
ExpressionTreeElement.getItem()
Get the wrapped item
|
String |
Variable.getName()
Get the variable name
|
ExpressionTreeElement |
ExpressionTree.getRoot()
Get the root of the tree
|
String |
ValueType.getSignature() |
ValueType |
Value.getType() |
Object |
Value.getValue() |
ExpressionTree |
ExpressionParser.parse(String expressionStr,
PreprocessorContext context)
To parse an expression represented as a string and get a tree
|
static Value |
Value.recognizeOf(String str) |
static Value |
Value.recognizeRawString(String str) |
static ValueType |
Value.recognizeType(String value) |
String |
Value.toString() |
String |
Variable.toString() |
String |
Value.toStringDetail() |
static Value |
Value.valueOf(Boolean val) |
static Value |
Value.valueOf(Float val) |
static Value |
Value.valueOf(Long val) |
static Value |
Value.valueOf(String val) |
Modifier and Type | Method and Description |
---|---|
void |
ExpressionTree.addItem(ExpressionItem item)
Add new expression item into tree
|
ExpressionTreeElement |
ExpressionTreeElement.addSubTree(ExpressionTree tree)
Add a tree as new child and make the maximum priority for it
|
void |
ExpressionTree.addTree(ExpressionTree tree)
Add whole tree as a tree element, also it sets the maximum priority to the new element
|
ExpressionTreeElement |
ExpressionTreeElement.addTreeElement(ExpressionTreeElement element)
Add tree element with sorting operation depends on priority of the elements
|
static Value |
Expression.evalExpression(String expression,
PreprocessorContext context)
Evaluate expression
|
static Value |
Expression.evalExpression(String expression,
PreprocessorContext context)
Evaluate expression
|
static Value |
Expression.evalTree(ExpressionTree tree,
PreprocessorContext context)
Evaluate an expression tree
|
static Value |
Expression.evalTree(ExpressionTree tree,
PreprocessorContext context)
Evaluate an expression tree
|
void |
ExpressionTreeElement.fillArguments(List<ExpressionTree> arguments)
It fills children slots from a list containing expression trees
|
static Object |
Value.getValue(String value,
ValueType type) |
static Object |
Value.getValue(String value,
ValueType type) |
boolean |
ValueType.isCompatible(ValueType type)
To check that the type is compatible with another one
|
ExpressionTree |
ExpressionParser.parse(String expressionStr,
PreprocessorContext context)
To parse an expression represented as a string and get a tree
|
ExpressionTree |
ExpressionParser.parse(String expressionStr,
PreprocessorContext context)
To parse an expression represented as a string and get a tree
|
ExpressionItem |
ExpressionParser.readExpression(PushbackReader reader,
ExpressionTree tree,
PreprocessorContext context,
boolean insideBracket,
boolean argument)
It reads an expression from a reader and fill a tree
|
ExpressionItem |
ExpressionParser.readExpression(PushbackReader reader,
ExpressionTree tree,
PreprocessorContext context,
boolean insideBracket,
boolean argument)
It reads an expression from a reader and fill a tree
|
ExpressionItem |
ExpressionParser.readExpression(PushbackReader reader,
ExpressionTree tree,
PreprocessorContext context,
boolean insideBracket,
boolean argument)
It reads an expression from a reader and fill a tree
|
static Value |
Value.recognizeOf(String str) |
static Value |
Value.recognizeRawString(String str) |
static ValueType |
Value.recognizeType(String value) |
boolean |
ExpressionTreeElement.replaceElement(ExpressionTreeElement oldOne,
ExpressionTreeElement newOne)
It replaces a child element
|
boolean |
ExpressionTreeElement.replaceElement(ExpressionTreeElement oldOne,
ExpressionTreeElement newOne)
It replaces a child element
|
static Value |
Value.valueOf(Boolean val) |
static Value |
Value.valueOf(Float val) |
static Value |
Value.valueOf(Long val) |
static Value |
Value.valueOf(String val) |
Constructor and Description |
---|
Variable(String varName)
The constructor
|
Modifier and Type | Method and Description |
---|---|
Value |
FunctionDefinedByUser.execute(PreprocessorContext context,
Value[] values) |
Value |
FunctionABS.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionABS.executeInt(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeInt(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2XML.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JS.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionEVALFILE.executeStr(PreprocessorContext context,
Value strfilePath) |
abstract Value |
AbstractStrConverter.executeStr(PreprocessorContext context,
Value stringToConvert) |
Value |
FunctionSTR2CSV.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2INT.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionTRIMLINES.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JSON.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2WEB.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTRLEN.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionIS.executeStrAny(PreprocessorContext context,
Value varName,
Value value) |
Value |
FunctionSTR2GO.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionSTR2JAVA.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionISSUBSTR.executeStrStr(PreprocessorContext context,
Value subStrValue,
Value strValue) |
Value |
FunctionBINFILE.executeStrStr(PreprocessorContext context,
Value strfilePath,
Value encodeType) |
ValueType[][] |
FunctionSTR2GO.getAllowedArgumentTypes() |
ValueType[][] |
FunctionISSUBSTR.getAllowedArgumentTypes() |
ValueType[][] |
FunctionEVALFILE.getAllowedArgumentTypes() |
ValueType[][] |
AbstractStrConverter.getAllowedArgumentTypes() |
ValueType[][] |
FunctionABS.getAllowedArgumentTypes() |
ValueType[][] |
FunctionBINFILE.getAllowedArgumentTypes() |
abstract ValueType[][] |
AbstractFunction.getAllowedArgumentTypes()
Get arrays of supported argument types
|
ValueType[][] |
FunctionROUND.getAllowedArgumentTypes() |
ValueType[][] |
FunctionDefinedByUser.getAllowedArgumentTypes() |
ValueType[][] |
FunctionSTR2JAVA.getAllowedArgumentTypes() |
ValueType[][] |
FunctionSTRLEN.getAllowedArgumentTypes() |
ValueType[][] |
FunctionIS.getAllowedArgumentTypes() |
ExpressionItemPriority |
AbstractFunction.getExpressionItemPriority()
Get the priority of the function in the expression tree
|
ExpressionItemType |
AbstractFunction.getExpressionItemType()
Get the expression item type
|
String |
FunctionSTR2GO.getName() |
String |
FunctionSTR2XML.getName() |
String |
FunctionISSUBSTR.getName() |
String |
FunctionSTR2JS.getName() |
String |
FunctionEVALFILE.getName() |
String |
FunctionABS.getName() |
String |
FunctionSTR2CSV.getName() |
String |
FunctionBINFILE.getName() |
String |
FunctionSTR2INT.getName() |
abstract String |
AbstractFunction.getName()
Get the function name
|
String |
FunctionROUND.getName() |
String |
FunctionDefinedByUser.getName() |
String |
FunctionTRIMLINES.getName() |
String |
FunctionSTR2JSON.getName() |
String |
FunctionSTR2WEB.getName() |
String |
FunctionSTR2JAVA.getName() |
String |
FunctionSTRLEN.getName() |
String |
FunctionIS.getName() |
String |
FunctionSTR2GO.getReference() |
String |
FunctionSTR2XML.getReference() |
String |
FunctionISSUBSTR.getReference() |
String |
FunctionSTR2JS.getReference() |
String |
FunctionEVALFILE.getReference() |
String |
FunctionABS.getReference() |
String |
FunctionSTR2CSV.getReference() |
String |
FunctionBINFILE.getReference() |
String |
FunctionSTR2INT.getReference() |
abstract String |
AbstractFunction.getReference()
Get the function reference to be output for a help request
|
String |
FunctionROUND.getReference() |
String |
FunctionDefinedByUser.getReference() |
String |
FunctionTRIMLINES.getReference() |
String |
FunctionSTR2JSON.getReference() |
String |
FunctionSTR2WEB.getReference() |
String |
FunctionSTR2JAVA.getReference() |
String |
FunctionSTRLEN.getReference() |
String |
FunctionIS.getReference() |
ValueType |
FunctionSTR2GO.getResultType() |
ValueType |
FunctionSTR2XML.getResultType() |
ValueType |
FunctionISSUBSTR.getResultType() |
ValueType |
FunctionSTR2JS.getResultType() |
ValueType |
FunctionEVALFILE.getResultType() |
ValueType |
FunctionABS.getResultType() |
ValueType |
FunctionSTR2CSV.getResultType() |
ValueType |
FunctionBINFILE.getResultType() |
ValueType |
FunctionSTR2INT.getResultType() |
abstract ValueType |
AbstractFunction.getResultType()
Get the result type
|
ValueType |
FunctionROUND.getResultType() |
ValueType |
FunctionDefinedByUser.getResultType() |
ValueType |
FunctionTRIMLINES.getResultType() |
ValueType |
FunctionSTR2JSON.getResultType() |
ValueType |
FunctionSTR2WEB.getResultType() |
ValueType |
FunctionSTR2JAVA.getResultType() |
ValueType |
FunctionSTRLEN.getResultType() |
ValueType |
FunctionIS.getResultType() |
Modifier and Type | Method and Description |
---|---|
Value |
FunctionDefinedByUser.execute(PreprocessorContext context,
Value[] values) |
Value |
FunctionDefinedByUser.execute(PreprocessorContext context,
Value[] values) |
Value |
FunctionABS.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionABS.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeFloat(PreprocessorContext context,
Value value) |
Value |
FunctionABS.executeInt(PreprocessorContext context,
Value value) |
Value |
FunctionABS.executeInt(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeInt(PreprocessorContext context,
Value value) |
Value |
FunctionROUND.executeInt(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2XML.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2XML.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JS.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JS.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionEVALFILE.executeStr(PreprocessorContext context,
Value strfilePath) |
Value |
FunctionEVALFILE.executeStr(PreprocessorContext context,
Value strfilePath) |
abstract Value |
AbstractStrConverter.executeStr(PreprocessorContext context,
Value stringToConvert) |
abstract Value |
AbstractStrConverter.executeStr(PreprocessorContext context,
Value stringToConvert) |
Value |
FunctionSTR2CSV.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2CSV.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2INT.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2INT.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionTRIMLINES.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionTRIMLINES.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JSON.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2JSON.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2WEB.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTR2WEB.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTRLEN.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionSTRLEN.executeStr(PreprocessorContext context,
Value value) |
Value |
FunctionIS.executeStrAny(PreprocessorContext context,
Value varName,
Value value) |
Value |
FunctionIS.executeStrAny(PreprocessorContext context,
Value varName,
Value value) |
Value |
FunctionIS.executeStrAny(PreprocessorContext context,
Value varName,
Value value) |
Value |
FunctionSTR2GO.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionSTR2GO.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionSTR2GO.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionSTR2JAVA.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionSTR2JAVA.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionSTR2JAVA.executeStrBool(PreprocessorContext context,
Value source,
Value splitAndQuoteLines) |
Value |
FunctionISSUBSTR.executeStrStr(PreprocessorContext context,
Value subStrValue,
Value strValue) |
Value |
FunctionISSUBSTR.executeStrStr(PreprocessorContext context,
Value subStrValue,
Value strValue) |
Value |
FunctionISSUBSTR.executeStrStr(PreprocessorContext context,
Value subStrValue,
Value strValue) |
Value |
FunctionBINFILE.executeStrStr(PreprocessorContext context,
Value strfilePath,
Value encodeType) |
Value |
FunctionBINFILE.executeStrStr(PreprocessorContext context,
Value strfilePath,
Value encodeType) |
Value |
FunctionBINFILE.executeStrStr(PreprocessorContext context,
Value strfilePath,
Value encodeType) |
static <E extends AbstractFunction> |
AbstractFunction.findForClass(Class<E> functionClass)
Allows to find a function handler instance for its class
|
static AbstractFunction |
AbstractFunction.findForName(String str)
Find a function handler for its name
|
Constructor and Description |
---|
FunctionDefinedByUser(String name,
int argsNumber,
PreprocessorContext context) |
FunctionDefinedByUser(String name,
int argsNumber,
PreprocessorContext context) |
Modifier and Type | Method and Description |
---|---|
static String |
AbstractXMLFunction.buildPathForElement(Element element) |
Value |
FunctionXML_NAME.executeStr(PreprocessorContext context,
Value elementId) |
Value |
FunctionXML_SIZE.executeStr(PreprocessorContext context,
Value elementListId) |
Value |
FunctionXML_OPEN.executeStr(PreprocessorContext context,
Value filePath) |
Value |
FunctionXML_ROOT.executeStr(PreprocessorContext context,
Value documentId) |
Value |
FunctionXML_TEXT.executeStr(PreprocessorContext context,
Value elementid) |
Value |
FunctionXML_GET.executeStrInt(PreprocessorContext context,
Value elementListId,
Value elementIndex) |
Value |
FunctionXML_XELEMENT.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_LIST.executeStrStr(PreprocessorContext context,
Value elementId,
Value elementTag) |
Value |
FunctionXML_XLIST.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_ATTR.executeStrStr(PreprocessorContext context,
Value elementId,
Value attributeName) |
String |
AbstractXMLFunction.findElementForIndex(PreprocessorContext context,
String elementListId,
int elementIndex) |
ValueType[][] |
FunctionXML_NAME.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_SIZE.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_XELEMENT.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_GET.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_LIST.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_XLIST.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_ATTR.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_OPEN.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_ROOT.getAllowedArgumentTypes() |
ValueType[][] |
FunctionXML_TEXT.getAllowedArgumentTypes() |
String |
AbstractXMLFunction.getAttribute(PreprocessorContext context,
String elementId,
String attributeName) |
Document |
AbstractXMLFunction.getCachedDocument(PreprocessorContext context,
String documentId) |
Element |
AbstractXMLFunction.getCachedElement(PreprocessorContext context,
String elementId) |
NodeList |
AbstractXMLFunction.getCachedElementList(PreprocessorContext context,
String elementListId) |
static String |
AbstractXMLFunction.getFirstLevelTextContent(Node node) |
String |
FunctionXML_NAME.getName() |
String |
FunctionXML_SIZE.getName() |
String |
FunctionXML_XELEMENT.getName() |
String |
FunctionXML_GET.getName() |
String |
FunctionXML_LIST.getName() |
String |
FunctionXML_XLIST.getName() |
String |
FunctionXML_ATTR.getName() |
String |
FunctionXML_OPEN.getName() |
String |
FunctionXML_ROOT.getName() |
String |
FunctionXML_TEXT.getName() |
Node |
NodeContainer.getNode() |
NodeList |
NodeContainer.getNodeList() |
String |
FunctionXML_NAME.getReference() |
String |
FunctionXML_SIZE.getReference() |
String |
FunctionXML_XELEMENT.getReference() |
String |
FunctionXML_GET.getReference() |
String |
FunctionXML_LIST.getReference() |
String |
FunctionXML_XLIST.getReference() |
String |
FunctionXML_ATTR.getReference() |
String |
FunctionXML_OPEN.getReference() |
String |
FunctionXML_ROOT.getReference() |
String |
FunctionXML_TEXT.getReference() |
ValueType |
FunctionXML_NAME.getResultType() |
ValueType |
FunctionXML_SIZE.getResultType() |
ValueType |
FunctionXML_XELEMENT.getResultType() |
ValueType |
FunctionXML_GET.getResultType() |
ValueType |
FunctionXML_LIST.getResultType() |
ValueType |
FunctionXML_XLIST.getResultType() |
ValueType |
FunctionXML_ATTR.getResultType() |
ValueType |
FunctionXML_OPEN.getResultType() |
ValueType |
FunctionXML_ROOT.getResultType() |
ValueType |
FunctionXML_TEXT.getResultType() |
static String |
AbstractXMLFunction.makeDocumentId(String fileName) |
static String |
AbstractXMLFunction.makeDocumentRootId(String documentId) |
static String |
AbstractXMLFunction.makeElementId(String elementListId,
int elementIndex) |
static String |
AbstractXMLFunction.makeElementListId(Element parentName,
String elementName) |
static String |
AbstractXMLFunction.makeXPathElementId(String documentId,
String xpath) |
static String |
AbstractXMLFunction.makeXPathListId(String documentId,
String xpath) |
Modifier and Type | Method and Description |
---|---|
static String |
AbstractXMLFunction.buildPathForElement(Element element) |
Value |
FunctionXML_NAME.executeStr(PreprocessorContext context,
Value elementId) |
Value |
FunctionXML_NAME.executeStr(PreprocessorContext context,
Value elementId) |
Value |
FunctionXML_SIZE.executeStr(PreprocessorContext context,
Value elementListId) |
Value |
FunctionXML_SIZE.executeStr(PreprocessorContext context,
Value elementListId) |
Value |
FunctionXML_OPEN.executeStr(PreprocessorContext context,
Value filePath) |
Value |
FunctionXML_OPEN.executeStr(PreprocessorContext context,
Value filePath) |
Value |
FunctionXML_ROOT.executeStr(PreprocessorContext context,
Value documentId) |
Value |
FunctionXML_ROOT.executeStr(PreprocessorContext context,
Value documentId) |
Value |
FunctionXML_TEXT.executeStr(PreprocessorContext context,
Value elementid) |
Value |
FunctionXML_TEXT.executeStr(PreprocessorContext context,
Value elementid) |
Value |
FunctionXML_GET.executeStrInt(PreprocessorContext context,
Value elementListId,
Value elementIndex) |
Value |
FunctionXML_GET.executeStrInt(PreprocessorContext context,
Value elementListId,
Value elementIndex) |
Value |
FunctionXML_GET.executeStrInt(PreprocessorContext context,
Value elementListId,
Value elementIndex) |
Value |
FunctionXML_XELEMENT.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_XELEMENT.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_XELEMENT.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_LIST.executeStrStr(PreprocessorContext context,
Value elementId,
Value elementTag) |
Value |
FunctionXML_LIST.executeStrStr(PreprocessorContext context,
Value elementId,
Value elementTag) |
Value |
FunctionXML_LIST.executeStrStr(PreprocessorContext context,
Value elementId,
Value elementTag) |
Value |
FunctionXML_XLIST.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_XLIST.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_XLIST.executeStrStr(PreprocessorContext context,
Value documentId,
Value xPath) |
Value |
FunctionXML_ATTR.executeStrStr(PreprocessorContext context,
Value elementId,
Value attributeName) |
Value |
FunctionXML_ATTR.executeStrStr(PreprocessorContext context,
Value elementId,
Value attributeName) |
Value |
FunctionXML_ATTR.executeStrStr(PreprocessorContext context,
Value elementId,
Value attributeName) |
Element |
AbstractXMLFunction.findCachedElement(PreprocessorContext context,
String elementId) |
Element |
AbstractXMLFunction.findCachedElement(PreprocessorContext context,
String elementId) |
NodeList |
AbstractXMLFunction.findCachedElementList(PreprocessorContext context,
String elementListId) |
NodeList |
AbstractXMLFunction.findCachedElementList(PreprocessorContext context,
String elementListId) |
String |
AbstractXMLFunction.findElementForIndex(PreprocessorContext context,
String elementListId,
int elementIndex) |
String |
AbstractXMLFunction.findElementForIndex(PreprocessorContext context,
String elementListId,
int elementIndex) |
String |
AbstractXMLFunction.getAttribute(PreprocessorContext context,
String elementId,
String attributeName) |
String |
AbstractXMLFunction.getAttribute(PreprocessorContext context,
String elementId,
String attributeName) |
String |
AbstractXMLFunction.getAttribute(PreprocessorContext context,
String elementId,
String attributeName) |
Document |
AbstractXMLFunction.getCachedDocument(PreprocessorContext context,
String documentId) |
Document |
AbstractXMLFunction.getCachedDocument(PreprocessorContext context,
String documentId) |
Element |
AbstractXMLFunction.getCachedElement(PreprocessorContext context,
String elementId) |
Element |
AbstractXMLFunction.getCachedElement(PreprocessorContext context,
String elementId) |
NodeList |
AbstractXMLFunction.getCachedElementList(PreprocessorContext context,
String elementListId) |
NodeList |
AbstractXMLFunction.getCachedElementList(PreprocessorContext context,
String elementListId) |
int |
AbstractXMLFunction.getElementListSize(PreprocessorContext context,
String elementListId) |
int |
AbstractXMLFunction.getElementListSize(PreprocessorContext context,
String elementListId) |
static String |
AbstractXMLFunction.getFirstLevelTextContent(Node node) |
static String |
AbstractXMLFunction.makeDocumentId(String fileName) |
static String |
AbstractXMLFunction.makeDocumentRootId(String documentId) |
static String |
AbstractXMLFunction.makeElementId(String elementListId,
int elementIndex) |
static String |
AbstractXMLFunction.makeElementId(String elementListId,
int elementIndex) |
static String |
AbstractXMLFunction.makeElementListId(Element parentName,
String elementName) |
static String |
AbstractXMLFunction.makeElementListId(Element parentName,
String elementName) |
static String |
AbstractXMLFunction.makeXPathElementId(String documentId,
String xpath) |
static String |
AbstractXMLFunction.makeXPathElementId(String documentId,
String xpath) |
static String |
AbstractXMLFunction.makeXPathListId(String documentId,
String xpath) |
static String |
AbstractXMLFunction.makeXPathListId(String documentId,
String xpath) |
Constructor and Description |
---|
NodeContainer(long id,
Node node) |
NodeContainer(long id,
NodeList list) |
Modifier and Type | Method and Description |
---|---|
Value |
OperatorADD.executeAnyStr(Value arg1,
Value arg2) |
Value |
OperatorADD.executeAnyStr(Value arg1,
Value arg2) |
Value |
OperatorNOT.executeBool(Value arg1) |
Value |
OperatorAND.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorAND.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorXOR.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorXOR.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorOR.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorOR.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeBoolBool(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorADD.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorADD.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeFloatFloat(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorADD.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorADD.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeFloatInt(Value arg1,
Value arg2) |
Value |
OperatorNOT.executeInt(Value arg1) |
Value |
OperatorSUB.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorADD.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorADD.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeIntFloat(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorSUB.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorAND.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorAND.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorMUL.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorADD.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorADD.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorXOR.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorXOR.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorOR.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorOR.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorDIV.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorMOD.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeIntInt(Value arg1,
Value arg2) |
Value |
OperatorADD.executeStrAny(Value arg1,
Value arg2) |
Value |
OperatorADD.executeStrAny(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorGREAT.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorLESS.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorNOTEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorGREATEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorLESSEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeStrStr(Value arg1,
Value arg2) |
Value |
OperatorEQU.executeStrStr(Value arg1,
Value arg2) |
static <E extends AbstractOperator> |
AbstractOperator.findForClass(Class<E> operatorClass)
Find an operator handler for its class
|
Modifier and Type | Method and Description |
---|---|
Value |
PreprocessorExtension.processUserFunction(String functionName,
Value[] arguments)
Call to process a user function (the function starts with $)
|
Modifier and Type | Method and Description |
---|---|
int |
PreprocessorExtension.getUserFunctionArity(String functionName)
When a preprocessor meets a user defined function (the function starts with
$) then it will ask for its arity
|
boolean |
PreprocessorExtension.processAction(PreprocessorContext context,
Value[] parameters)
To process an action (it will be called if the preprocessor is met
//#action directive)
|
boolean |
PreprocessorExtension.processAction(PreprocessorContext context,
Value[] parameters)
To process an action (it will be called if the preprocessor is met
//#action directive)
|
Value |
PreprocessorExtension.processUserFunction(String functionName,
Value[] arguments)
Call to process a user function (the function starts with $)
|
Value |
PreprocessorExtension.processUserFunction(String functionName,
Value[] arguments)
Call to process a user function (the function starts with $)
|
Modifier and Type | Method and Description |
---|---|
File[] |
PreprocessorMojo.getCfgFiles() |
File |
PreprocessorMojo.getDestination() |
String[] |
PreprocessorMojo.getExcludedFolders() |
Properties |
PreprocessorMojo.getGlobalVars() |
String |
PreprocessorMojo.getInEncoding() |
String |
PreprocessorMojo.getOutEncoding() |
String |
PreprocessorMojo.getSource() |
File |
PreprocessorMojo.getTestDestination() |
String[] |
MavenPropertiesImporter.getVariableNames() |
Modifier and Type | Method and Description |
---|---|
void |
PreprocessorMojo.debug(String message) |
void |
PreprocessorMojo.error(String message) |
Value |
MavenPropertiesImporter.getVariable(String varName,
PreprocessorContext context) |
Value |
MavenPropertiesImporter.getVariable(String varName,
PreprocessorContext context) |
void |
PreprocessorMojo.info(String message) |
void |
PreprocessorMojo.setCfgFiles(File[] files) |
void |
PreprocessorMojo.setDestination(File destination) |
void |
PreprocessorMojo.setExcludedFolders(String... antPatterns) |
void |
PreprocessorMojo.setGlobalVars(Properties vars) |
void |
PreprocessorMojo.setInEncoding(String value) |
void |
PreprocessorMojo.setOutEncoding(String value) |
void |
PreprocessorMojo.setSource(String source) |
void |
PreprocessorMojo.setTestDestination(File destination) |
void |
MavenPropertiesImporter.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
MavenPropertiesImporter.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
MavenPropertiesImporter.setVariable(String varName,
Value value,
PreprocessorContext context) |
void |
PreprocessorMojo.warning(String message) |
Constructor and Description |
---|
MavenPropertiesImporter(PreprocessorContext context,
org.apache.maven.project.MavenProject project,
boolean logAddedProperties) |
MavenPropertiesImporter(PreprocessorContext context,
org.apache.maven.project.MavenProject project,
boolean logAddedProperties) |
Modifier and Type | Method and Description |
---|---|
Writer |
JavaCommentsRemover.process() |
Constructor and Description |
---|
JavaCommentsRemover(Reader src,
Writer dst) |
JavaCommentsRemover(Reader src,
Writer dst) |
Modifier and Type | Method and Description |
---|---|
static String |
PreprocessorUtils.extractTail(String prefix,
String value) |
static String |
PreprocessorUtils.extractTrimmedTail(String prefix,
String value) |
static String |
PreprocessorUtils.generateStringForChar(char chr,
int length) |
static String |
PreprocessorUtils.getFilePath(File file) |
static String |
PreprocessorUtils.getNextLineCodes() |
static String |
PreprocessorUtils.leftTrim(String rawString) |
static BufferedReader |
PreprocessorUtils.makeFileReader(File file,
String charset,
int bufferSize) |
static String |
PreprocessorUtils.processMacroses(String processingString,
PreprocessorContext context) |
static byte[] |
PreprocessorUtils.readFileAsByteArray(File file) |
static String[] |
PreprocessorUtils.readWholeTextFileIntoArray(File file,
String encoding,
AtomicBoolean endedByNextLine) |
static String[] |
PreprocessorUtils.replaceChar(String[] source,
char toBeReplaced,
char replacement) |
static String |
PreprocessorUtils.replacePartByChar(String text,
char chr,
int startPosition,
int length) |
static String[] |
PreprocessorUtils.replaceStringPrefix(String[] allowedPrefixesToBeReplaced,
String replacement,
String[] strings) |
static String[] |
PreprocessorUtils.splitExtensionCommaList(String extensions) |
static String[] |
PreprocessorUtils.splitForChar(String string,
char delimiter) |
static String[] |
PreprocessorUtils.splitForCharAndHoldEmptyLine(String string,
char delimiter) |
static String[] |
PreprocessorUtils.splitForEqualChar(String string) |
Modifier and Type | Method and Description |
---|---|
static void |
PreprocessorUtils.copyFile(File source,
File dest,
boolean copyFileAttributes) |
static void |
PreprocessorUtils.copyFile(File source,
File dest,
boolean copyFileAttributes) |
static void |
PreprocessorUtils.copyFileAttributes(File from,
File to) |
static void |
PreprocessorUtils.copyFileAttributes(File from,
File to) |
static String |
PreprocessorUtils.extractTail(String prefix,
String value) |
static String |
PreprocessorUtils.extractTail(String prefix,
String value) |
static String |
PreprocessorUtils.extractTrimmedTail(String prefix,
String value) |
static String |
PreprocessorUtils.extractTrimmedTail(String prefix,
String value) |
static String |
PreprocessorUtils.leftTrim(String rawString) |
static BufferedReader |
PreprocessorUtils.makeFileReader(File file,
String charset,
int bufferSize) |
static BufferedReader |
PreprocessorUtils.makeFileReader(File file,
String charset,
int bufferSize) |
void |
ResetablePrinter.print(String text) |
void |
ResetablePrinter.println(String text) |
static String |
PreprocessorUtils.processMacroses(String processingString,
PreprocessorContext context) |
static String |
PreprocessorUtils.processMacroses(String processingString,
PreprocessorContext context) |
static byte[] |
PreprocessorUtils.readFileAsByteArray(File file) |
static String[] |
PreprocessorUtils.readWholeTextFileIntoArray(File file,
String encoding,
AtomicBoolean endedByNextLine) |
static String[] |
PreprocessorUtils.replaceChar(String[] source,
char toBeReplaced,
char replacement) |
static String |
PreprocessorUtils.replacePartByChar(String text,
char chr,
int startPosition,
int length) |
static String[] |
PreprocessorUtils.replaceStringPrefix(String[] allowedPrefixesToBeReplaced,
String replacement,
String[] strings) |
static String[] |
PreprocessorUtils.replaceStringPrefix(String[] allowedPrefixesToBeReplaced,
String replacement,
String[] strings) |
static String[] |
PreprocessorUtils.replaceStringPrefix(String[] allowedPrefixesToBeReplaced,
String replacement,
String[] strings) |
static String[] |
PreprocessorUtils.splitExtensionCommaList(String extensions) |
static String[] |
PreprocessorUtils.splitForChar(String string,
char delimiter) |
static String[] |
PreprocessorUtils.splitForCharAndHoldEmptyLine(String string,
char delimiter) |
static String[] |
PreprocessorUtils.splitForEqualChar(String string) |
static void |
PreprocessorUtils.throwPreprocessorException(String msg,
String processingString,
File srcFile,
int nextStringIndex,
Throwable cause) |
void |
ResetablePrinter.writeBufferTo(Writer writer) |
Modifier and Type | Method and Description |
---|---|
String |
Complexity.getFormula()
Get the formula.
|
String |
Complexity.toString() |
Modifier and Type | Method and Description |
---|---|
TimeGuard.TimeData |
TimeViolationError.getData()
Get the data container which was created during time watcher registration.
|
Modifier and Type | Method and Description |
---|---|
static void |
MetaErrorListeners.addErrorListener(MetaErrorListener value)
Add new fireError listener for global fireError events.
|
static void |
MetaErrorListeners.fireError(String text,
Throwable error)
Send notifications to all listeners.
|
static void |
MetaErrorListeners.fireError(String text,
Throwable error)
Send notifications to all listeners.
|
void |
MetaErrorListener.onDetectedError(String text,
Throwable error)
The Method will be called if detected some error.
|
static void |
MetaErrorListeners.removeErrorListener(MetaErrorListener value)
Remove listener.
|
Constructor and Description |
---|
TimeViolationError(long detectedTimeInMilliseconds,
TimeGuard.TimeData item)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
CallTrace |
KeepCreationPointTemplate.getCreationPoint()
Get the creation point stack trace for the instance.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Collection<?>> |
Assertions.assertDoesntContainNull(T collection)
Assert that collection doesn't contain null value.
|
static <T> T[] |
Assertions.assertDoesntContainNull(T[] array)
Assert that array doesn't contain null value.
|
static <T extends Disposable> |
Assertions.assertNotDisposed(T disposable)
Assert that a disposable object is not disposed.
|
static <T> T |
Assertions.assertNotNull(String failMessage,
T object)
Assert that value is not null
|
static <T> T |
Assertions.assertNotNull(T object)
Assert that value is not null
|
static <T> T |
GetUtils.ensureNonNull(T value)
Get value if it is not null.
|
static <T> T |
GetUtils.ensureNonNull(T value,
T defaultValue)
Get value and ensure that the value is not null
|
static String |
GetUtils.ensureNonNullAndNonEmpty(String value,
String dflt)
Get non-null non-empty string.
|
static String |
GetUtils.ensureNonNullStr(String value)
Ensure that a string will not be null.
|
static Error |
Assertions.fail(String message)
Throw assertion error for some cause
|
static <T> T |
GetUtils.findFirstNonNull(T... objects)
Find the first non-null value in an array and return that.
|
TimeGuard.TimeAlertListener |
TimeGuard.TimeData.getAlertListener()
Get alert listener if provided
|
String |
CallTrace.getThreadDescriptor()
Get the descriptor of the thread where the object instance was created.
|
static <T> T[] |
ArrayUtils.joinArrays(T[]... arrays)
Join arrays provided as parameters, all arrays must be the same type, null values allowed.
|
static byte[] |
IOUtils.packData(byte[] data)
Pack some binary data.
|
static String |
StrUtils.pressing(String value)
Remove all white space chars and ISO control chars.
|
String |
CallTrace.restoreStackTrace()
Restore stack trace as a string from inside data representation.
|
static StackTraceElement |
ThreadUtils.stackElement()
Get the stack element of the method caller.
|
static String |
StrUtils.trimLeft(String value)
Trim left white spaces in string.
|
static String |
StrUtils.trimRight(String value)
Trim right white spaces in string.
|
static byte[] |
IOUtils.unpackData(byte[] data)
Unpack binary data packed by the packData method.
|
Modifier and Type | Method and Description |
---|---|
static void |
TimeGuard.addPoint(String timePointName,
TimeGuard.TimeAlertListener listener)
Add a named time point.
|
static void |
TimeGuard.addPoint(String timePointName,
TimeGuard.TimeAlertListener listener)
Add a named time point.
|
static <T> T |
Assertions.assertAmong(T obj,
T... list)
Check that object is presented among provided elements and replace the object by equal element from the list.
|
static <T extends Collection<?>> |
Assertions.assertDoesntContainNull(T collection)
Assert that collection doesn't contain null value.
|
static <T> T[] |
Assertions.assertDoesntContainNull(T[] array)
Assert that array doesn't contain null value.
|
static <T> T |
Assertions.assertIsValid(T obj,
Validator<T> validator)
Check an object by a validator.
|
static <T extends Disposable> |
Assertions.assertNotDisposed(T disposable)
Assert that a disposable object is not disposed.
|
static void |
TimeGuard.checkPoint(String timePointName)
Check named time point(s).
|
static Deferrers.Deferred |
Deferrers.defer(Deferrers.Deferred deferred)
Defer some action.
|
static Disposable |
Deferrers.defer(Disposable disposable)
Defer execution of some disposable object.
|
static Runnable |
Deferrers.defer(Runnable runnable)
Defer execution of some runnable action.
|
static <T> T |
GetUtils.ensureNonNull(T value)
Get value if it is not null.
|
static <T> T |
GetUtils.ensureNonNull(T value,
T defaultValue)
Get value and ensure that the value is not null
|
static String |
GetUtils.ensureNonNullAndNonEmpty(String value,
String dflt)
Get non-null non-empty string.
|
static <T> T |
GetUtils.findFirstNonNull(T... objects)
Find the first non-null value in an array and return that.
|
void |
TimeGuard.TimeAlertListener.onTimeAlert(long detectedTimeDelayInMilliseconds,
TimeGuard.TimeData timeData)
Process time.
|
static byte[] |
IOUtils.packData(byte[] data)
Pack some binary data.
|
static String |
StrUtils.pressing(String value)
Remove all white space chars and ISO control chars.
|
static String |
StrUtils.trimLeft(String value)
Trim left white spaces in string.
|
static String |
StrUtils.trimRight(String value)
Trim right white spaces in string.
|
static byte[] |
IOUtils.unpackData(byte[] data)
Unpack binary data packed by the packData method.
|
Constructor and Description |
---|
CallTrace(boolean skipConstructors,
boolean pack,
String eol)
The Constructor allows to create call trace history with defined end-of-line symbol and since needed stack item position.
|
TimeData(int stackDepth,
String alertMessage,
long maxAllowedDelayInMilliseconds,
TimeGuard.TimeAlertListener violationListener)
The Constructor
|
Copyright © 2011–2021 Igor Maznitsa. All rights reserved.