Skip navigation links
monq-2.0.0
A B C D E F G H I K L M N O P R S T U V W X 

A

AbstractFaAction - Class in monq.jfa
implements the prototype of an FaAction with initial priority zero so that actions can be easily written as anonymous classes.
AbstractFaAction() - Constructor for class monq.jfa.AbstractFaAction
although this class is abstract, the constructor is needed to create anonymous subclasses.
AbstractPipe - Class in monq.stuff
a skeleton implementation of a combination of Feeder and Drainer.
AbstractPipe() - Constructor for class monq.stuff.AbstractPipe
 
acquire() - Method in class monq.stuff.Semaphore
blocks the calling thread until a free slot is available.
add(int) - Method in class monq.jfa.actions.Count
returns an FaAction which changes the counter according to the given increment incr.
add(FaAction) - Method in class monq.jfa.actions.Run
adds the given action a to the list of actions to execute when invoke is called.
add(Context, String, String) - Method in class monq.jfa.ctx.ContextManager
adds a new context to the client Nfa.
add(String, String) - Method in class monq.jfa.ctx.ContextManager
calls ContextManager.add(Context,String,String) such that the context is entered in any parent context.
add(E) - Method in class monq.jfa.PlainSet
 
addAction(FaAction) - Method in class monq.jfa.Nfa
adds an action to the Nfa (expert only).
addAll(Collection<? extends E>) - Method in class monq.jfa.PlainSet
 
addOption(Option) - Method in class monq.clifj.Commandline
 
addPart(int, int, byte) - Method in class monq.jfa.TextStore
like setPart() except that the given part is appended to the list of parts.
addPart(int, int) - Method in class monq.jfa.TextStore
 
addRestrictions(String) - Method in class monq.clifj.EnumOption
 
addRestrictions(String) - Method in class monq.clifj.LongOption
 
addXml(Context, String) - Method in class monq.jfa.ctx.ContextManager
calls add(parent,reIn,reOut) such that reIn and reOut match the start and end of the XML element with the given tagname.
addXml(String) - Method in class monq.jfa.ctx.ContextManager
calls ContextManager.add(Context,String,String) such that reIn and reOut match the start and end of the XML element with the given tagname.
addXml(Context, String[]) - Method in class monq.jfa.ctx.ContextManager
creates a nested hierarchy of contexts defined by the XML tagnames given.
addXml() - Method in class monq.jfa.ctx.ContextManager
calls ContextManager.add(Context,String,String) such that reIn and reOut match the start and end of any XML element.
allPrefixes() - Method in class monq.jfa.Nfa
converts the automaton into one which matches all non-empty prefixes of the given automaton.
allPrefixes() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.allPrefixes() on the top element of the expression stack.
anyContext - Static variable in class monq.jfa.ctx.ContextManager
 
append(StringBuilder) - Method in class monq.jfa.SimpleFormatters.FixedString
appends the content of sb to the predifined string to be used by format.
append(SimpleFormatters.FixedString) - Method in class monq.jfa.SimpleFormatters.FixedString
 
append(String) - Method in class monq.jfa.TextStore
appends the given text to the this.
append(char) - Method in class monq.jfa.TextStore
 
append(StringBuilder, int, int) - Method in class monq.jfa.TextStore
appends the given text to the this.
appendPart(StringBuilder, int, int, byte) - Method in class monq.jfa.TextStore
combines operations TextStore.append(java.lang.String) and addPart() such that the whole appended text will also define a new part.
appendPart(StringBuilder, int, int) - Method in class monq.jfa.TextStore
 
ArrayUtil - Class in monq.stuff
is a collection of static methods to manipulate arrays.
atStartOf(CharSequence, int) - Method in class monq.jfa.Regexp
tests whether this matches a prefix of s starting at position pos.
atStartOf(CharSequence) - Method in class monq.jfa.Regexp
tests whether this matches a prefix of s.
atStartOf(CharSequence, CharSequence, int) - Static method in class monq.jfa.Regexp
tests whether regexp matches within s at position start.
Attribute - Static variable in class monq.jfa.Xml
a regular expression matching an XML attribute including name, equal sign and attribute value.
AttValue - Static variable in class monq.jfa.Xml
a regular expression matching an XML attribute value.
available(String) - Method in class monq.clifj.Commandline
returns true if the option was found on the command line or has default values.
available() - Method in class monq.clifj.Option
returns true if the option was found on the command line or has default values.

B

BooleanOption - Class in monq.clifj
is a boolean values command line option and has no arguments.
BooleanOption(String, String) - Constructor for class monq.clifj.BooleanOption
 
ByteCharSource - Class in monq.jfa
implements a CharSource which reads bytes and converts them to characters of a given character set while keeping track of byte positions of converted characters within the input stream.
ByteCharSource(ReadableByteChannel) - Constructor for class monq.jfa.ByteCharSource
creates a ByteCharSource to read from the given channel.
ByteCharSource(InputStream) - Constructor for class monq.jfa.ByteCharSource
ByteCharSource(RandomAccessFile) - Constructor for class monq.jfa.ByteCharSource
ByteCharSource(String) - Constructor for class monq.jfa.ByteCharSource

C

Call - Class in monq.jfa.actions
is an FaAction that forwards the callback to its invoke() method to a named method by using reflection.
Call(String) - Constructor for class monq.jfa.actions.Call
creates a Call that will forward the call to a method with the given methodName.
CallbackException - Exception in monq.jfa
CallbackException(String, Throwable) - Constructor for exception monq.jfa.CallbackException
 
CallbackException(String) - Constructor for exception monq.jfa.CallbackException
 
CDSect - Static variable in class monq.jfa.Xml
a regular expression matching a CDATA section.
charArrayMemEstimate(int) - Static method in class monq.stuff.Sizeof
 
CharRef - Static variable in class monq.jfa.Xml
a regular expression matching an XML CharRef.
CharSequenceCharSource - Class in monq.jfa
is a CharSource wrapper around a CharSequence such that it can be used as an input source of a DfaRun.
CharSequenceCharSource() - Constructor for class monq.jfa.CharSequenceCharSource
 
CharSequenceCharSource(CharSequence) - Constructor for class monq.jfa.CharSequenceCharSource
 
CharSequenceCharSource(CharSequence, int) - Constructor for class monq.jfa.CharSequenceCharSource
 
CharSequenceFeeder - Class in monq.stuff
implements a Feeder that feeds a CharSequence to the output specified by setOut().
CharSequenceFeeder(CharSequence, String) - Constructor for class monq.stuff.CharSequenceFeeder
creates the Feeder to feed in to an OutputStream while encoding characters with the character set given by csname.
CharSource - Interface in monq.jfa
defines the type from which a DfaRun reads the data.
charTransTypes - Variable in class monq.jfa.Statistics
type and number of CharTrans implementations used
check(Object) - Method in class monq.clifj.EnumOption
 
check(Object) - Method in class monq.clifj.LongOption
 
clear() - Method in class monq.jfa.TextStore
resets this to contain neither text nor any parts.
clear() - Method in class monq.net.PipelineRequest
deletes all key/value pairs that were stored with put().
clientData - Variable in class monq.jfa.DfaRun
Room for an arbitrary piece of data.
close() - Method in class monq.jfa.ByteCharSource
closes the underlying ReadableByteChannel.
close(InputStream) - Method in class monq.net.DistPipeFilter
must be called with an InputStream as returned by open() eventually to release the connection resources used to contact the pipeline.
Coder - Class in monq.stuff
methods to encode/decode between a java.lang.StringBuilder and a java.nio.ByteBuffer.
Coder(Charset) - Constructor for class monq.stuff.Coder
creates an Coder for the given character set which uses a default internal buffer size for encoding.
collect - Variable in class monq.jfa.DfaRun
set this field to true from an FaAction callback to prevent the machinery to ship the filtered data.
column - Variable in exception monq.jfa.ReSyntaxException
 
CombiningChar - Static variable in class monq.jfa.Xml
a regular expression matching an XML CombiningChar.
Commandline - Class in monq.clifj
describes the structure of the command line with options.
Commandline(String, String, String, String, int, int) - Constructor for class monq.clifj.Commandline
creates a Commandline object which allows non option arguments.
Commandline(String, String) - Constructor for class monq.clifj.Commandline
creates a Commandline object which does not allow non option arguments.
CommandlineException - Exception in monq.clifj
thrown by Commandline.parse() if errors are found on the command line.
CommandlineException(String) - Constructor for exception monq.clifj.CommandlineException
 
Comment - Static variable in class monq.jfa.Xml
a regular expression matching an XML comment.
compile(DfaRun.FailedMatchBehaviour, FaAction) - Method in class monq.jfa.Nfa
compiles this non-deterministic finite automaton into a deterministic finite automaton.
compile(DfaRun.FailedMatchBehaviour) - Method in class monq.jfa.Nfa
compiles this into a Dfa with the given behaviour for non-matching input.
CompileDfaException - Exception in monq.jfa
represents things that go wrong during compilation of an Nfa into a Dfa.
CompileDfaException(String) - Constructor for exception monq.jfa.CompileDfaException
 
CompileDfaException() - Constructor for exception monq.jfa.CompileDfaException
 
complete(D) - Method in class monq.jfa.Intervals
all intervals which are currently mapped to null will be mapped to the given object.
completeToSkip(FaAction) - Method in class monq.jfa.Nfa
extends the automaton with an additonal automaton which matches everything but all non-empty prefixes of this automaton.
contains(Object) - Method in class monq.jfa.PlainSet
 
CONTENT - Static variable in class monq.jfa.Xml
use this to retrieve the element content from the map passed to splitElement(Map,StringBuilder,int).
Context - Class in monq.jfa.ctx
manages a context when running a DfaRun.
ContextManager - Class in monq.jfa.ctx
populates a Nfa with regex/action pairs which keep track of nested matching contexts.
ContextManager(Nfa) - Constructor for class monq.jfa.ctx.ContextManager
creates an object to populate the given Nfa with regex/action pairs for context matching.
ContextStackProvider - Interface in monq.jfa.ctx
is the interface to be implemented by an object put into DfaRun.clientData when any of the actions in monq.jfa.ctx package are used in a Nfa.
convert(String) - Static method in class monq.ie.Term2Re
converts a multi word term into a regular expression matching that term as well as obvious generalizations.
ConvinceGC - Class in monq.stuff
this class should not be necessary, but I did not find a better way to get the GC release memory to the operating system.
ConvinceGC(int) - Constructor for class monq.stuff.ConvinceGC
get a thread which, after being started, calls the garbage collector the given number of times with an interval of 1 second in between.
Copy - Class in monq.jfa.actions
implements an FaAction which merely copies matched input to the output.
Copy(int) - Constructor for class monq.jfa.actions.Copy
use only if Copy.COPY is not what you want, because you have to specify a priority.
COPY - Static variable in class monq.jfa.actions.Copy
a predefined FaAction with priority 0 which merely copies matched text unchanged to the output.
COPY - Static variable in class monq.jfa.actions.Unmatched
change the default behaviour of the calling DfaRun to DfaRun.UNMATCHED_COPY.
copy() - Method in class monq.jfa.Nfa
creates a copy of this Nfa where all the states are duplicated, but the actions are kept such that both Nfas referernce the same actions.
Count - Class in monq.jfa.actions
counts matches and can then be used with If to perform conditional actions depending on whether a threshold count is reached.
Count(String) - Constructor for class monq.jfa.actions.Count
create a counter callback which records the its value with key.
count - Variable in class monq.stuff.Sizeof.Pair
number of objects of a certain type.
createConverter(String, String, String, ReParser) - Static method in class monq.ie.Term2Re
creates a DfaRun able to convert a multi word term into a regular expression which matches obvious orthographical variations of that term.
createRun() - Method in class monq.jfa.Dfa
convenience function to get a DfaRun for this automaton.
createRun() - Method in class monq.programs.DictFilter
create a DfaRun object suitable to operate the dictionary DFA.
createRun() - Method in class monq.programs.Grep
is the way to apply the machinery created with one of the constructors.
createService(InputStream, OutputStream, Object) - Method in class monq.net.FilterServiceFactory
contacts an upstream server and connects a service to the resulting input and the given output.
createService(InputStream, OutputStream, Object) - Method in interface monq.net.ServiceFactory
creates a Service that reads from the given input stream, processes it and writes the result to the given output stream.
createService(InputStream, OutputStream, Object) - Method in class monq.programs.DictFilter
 
createService(InputStream, OutputStream, Object) - Method in class monq.programs.Grep
 
createStackProvider() - Static method in class monq.jfa.ctx.ContextManager
is a convenience method to create a sufficient implementation of a ContextStackProvider.

D

decode(StringBuilder, int) - Method in class monq.jfa.xml.StdCharEntities
 
decode(ByteBuffer, StringBuilder) - Method in class monq.stuff.Coder
decode the contents of a ByteBuffer and append them to a StringBuilder.
DefaultAction - Class in monq.jfa.actions
provides an action that always returns the other action from DefaultAction.mergeWith(monq.jfa.FaAction).
DefaultAction(FaAction) - Constructor for class monq.jfa.actions.DefaultAction
 
defaultEnc - Static variable in class monq.stuff.EncodingDetector
the platform's default encoding determined by opening an InputStreamReader on System.in and asking for its encoding.
delete(int[], int, int) - Static method in class monq.stuff.ArrayUtil
deletes count elements from ary starting at index pos by copying the elements at indices greater than or equal to pos+count to index pos.
delete(byte[], int, int) - Static method in class monq.stuff.ArrayUtil
deletes count elements from ary starting at index pos by copying the elements at indices greater than or equal to pos+count to index pos.
delete(Object[], int, int) - Static method in class monq.stuff.ArrayUtil
 
deleteParts(int, int) - Method in class monq.jfa.TextStore
deletes all parts in the inclusive range referenced by first and last.
detect(InputStream, int, String) - Static method in class monq.stuff.EncodingDetector
reads up to limit bytes from the given input stream to find out the character encoding used.
detect(InputStream) - Static method in class monq.stuff.EncodingDetector
tries to detect the character encoding used in the given InputStream within the first 1000 bytes.
Dfa - Class in monq.jfa
implements a deterministic finite automaton.
DFA_AttValue - Static variable in class monq.jfa.Xml
a Dfa which matches a Xml.AttValue.
DFA_Eq - Static variable in class monq.jfa.Xml
a Dfa which matches a Xml.Eq.
DFA_Name - Static variable in class monq.jfa.Xml
a Dfa which matches a Xml.Name.
DFA_S - Static variable in class monq.jfa.Xml
a Dfa which matches a Xml.S.
DfaRun - Class in monq.jfa
A DfaRun is used to apply a Dfa to a stream of characters.
DfaRun(Dfa, CharSource) - Constructor for class monq.jfa.DfaRun
creates a DfaRun object to operate the given Dfa.
DfaRun(Dfa) - Constructor for class monq.jfa.DfaRun
creates a DfaRun with empty initial input.
DfaRun.FailedMatchBehaviour - Class in monq.jfa
defines typed enumerated values which describe what a DfaRun shall do in its read() and filter() functions, if no match can be found.
DfaRunFeeder - Class in monq.stuff
implements a Feeder that feeds data filtered by a Dfa to the output specified by setOut().
DfaRunFeeder(DfaRun, String) - Constructor for class monq.stuff.DfaRunFeeder
creates the Feeder to filter source with the given dfa and then feed it to an OutputStream while encoding characters with the character set given by csname.
DfaRunService - Class in monq.net
convenience class which makes a DfaRun into a service that can be returned by a ServiceFactory.
DfaRunService(DfaRun, PrintStream) - Constructor for class monq.net.DfaRunService
creates a Runnable which will run r as a filter which sends its output to out.
DictFilter - Class in monq.programs
(Command Line Program) is a class to create a text markup filter from a long list of term/ID or regex/ID mappings.
DictFilter(Reader, String, String, boolean) - Constructor for class monq.programs.DictFilter
 
DictFilter(Reader, String, String, boolean, boolean, boolean) - Constructor for class monq.programs.DictFilter
creates a DictFilter from the given Reader which must comply to the format described above.
Digit - Static variable in class monq.jfa.Xml
a regular expression matching an XML Digit.
DistFilter - Class in monq.programs
is a command line front-end wrapper for DistPipeFilter.
DistFilter() - Constructor for class monq.programs.DistFilter
 
DistPipeFilter - Class in monq.net
is a communication endpoint for a distributed pipe of (text) filters.
DistPipeFilter(int, int, PrintStream) - Constructor for class monq.net.DistPipeFilter
creates a DistPipeFilter on the given port.
DistPipeFilter(int, int) - Constructor for class monq.net.DistPipeFilter
 
done() - Method in class monq.stuff.Exec
starts feeding the process by calling Exec.run(), waits for it to finish and then returns Exec.ok().
drain(CharSource, int) - Method in class monq.jfa.TextStore
calls CharSource.pushBack() to get rid of the substring of the text beginning at start.
Drainer - Interface in monq.stuff
the dual to Feeder.
Drop - Class in monq.jfa.actions
implements an FaAction which drops (deletes) matched input.
Drop(int) - Constructor for class monq.jfa.actions.Drop
use only if Drop.DROP is not what you want because you have to specify a priority.
DROP - Static variable in class monq.jfa.actions.Drop
a predefined FaAction with priority 0 which drops (deletes) matched text such that nothing is transfered to the output.
drop() - Method in class monq.jfa.actions.Hold
create an FaAction which drops (deletes) the output held back by this object.
DROP - Static variable in class monq.jfa.actions.Unmatched
change the default behaviour of the calling DfaRun to DfaRun.UNMATCHED_DROP.
dup() - Method in interface monq.jfa.NfaParserView
creates a copy of the top stack element and pushes it

E

EAMBIGUOUS - Static variable in exception monq.jfa.CompileDfaException
 
EATDIGIT - Static variable in exception monq.jfa.ReSyntaxException
 
EATMISSAT - Static variable in exception monq.jfa.ReSyntaxException
 
EATRANGE - Static variable in exception monq.jfa.ReSyntaxException
 
EBSATEOF - Static variable in exception monq.jfa.ReSyntaxException
 
ECHARUNEX - Static variable in exception monq.jfa.ReSyntaxException
 
ECLOSINGP - Static variable in exception monq.jfa.ReSyntaxException
 
EEMPTY - Static variable in exception monq.jfa.ReSyntaxException
 
EEOFUNEX - Static variable in exception monq.jfa.ReSyntaxException
 
EEPSMATCHER - Static variable in class monq.jfa.DfaRun
is the error text used in a IllegalArgumentException if a DfaRun shall be created with a Dfa that matches the empty string.
EEXTRACHAR - Static variable in exception monq.jfa.ReSyntaxException
 
EFORMAT - Static variable in exception monq.jfa.ReSyntaxException
 
EINVALUL - Static variable in exception monq.jfa.ReSyntaxException
 
EINVRANGE - Static variable in exception monq.jfa.ReSyntaxException
 
elsedo(FaAction) - Method in class monq.jfa.ctx.IfContext
define the action to call when this object's invoke method is called in a context for which no client action is registered.
Embed - Class in monq.jfa.actions
implements an FaAction which embeds the matched input into two fixed strings.
Embed(String, String, int) - Constructor for class monq.jfa.actions.Embed
creates an FaAction with the given priority which embeds the matched text into the given strings.
Embed(String, String) - Constructor for class monq.jfa.actions.Embed
calls the 3 parameter constructor with priority==0.
EMISSINGCURLYCLOSE - Static variable in exception monq.jfa.ReSyntaxException
 
EmptyCharSource - Class in monq.jfa
represents a minimal implementation of the CharSource interface mainly providing the ability to push characters back into the stream for later reading.
EmptyCharSource() - Constructor for class monq.jfa.EmptyCharSource
 
EmptyCharSource(int) - Constructor for class monq.jfa.EmptyCharSource
 
EmptyElemTag(String) - Static method in class monq.jfa.Xml
returns a string matching an empty element XML tag the name of which matches the given regular expression.
EmptyElemTag() - Static method in class monq.jfa.Xml
returns a regular expression matching any empty element.
emsg - Variable in exception monq.jfa.ReSyntaxException
 
EncName - Static variable in class monq.jfa.Xml
a regular expression matching an encoding name.
encode(StringBuilder, int) - Method in class monq.jfa.xml.StdCharEntities
 
encode(StringBuilder, ByteBuffer) - Method in class monq.stuff.Coder
encode the contends of a StringBuilder into a ByteBuffer.
EncodingDetector - Class in monq.stuff
provides static methods to guess the character encoding used in an InputStream supposedly containing XML or HTML.
ENOHEX - Static variable in exception monq.jfa.ReSyntaxException
 
EntityRef - Static variable in class monq.jfa.Xml
a regular expresion matching an XML EntityRef.
EnumOption - Class in monq.clifj
is a command line option with String valued arguments from a small set of given strings.
EnumOption(String, String, String, int, int, String, String[]) - Constructor for class monq.clifj.EnumOption
creates an option which accepts string values from small enumerated set of values.
EnumOption(String, String, String, int, int, String) - Constructor for class monq.clifj.EnumOption
 
EOF - Static variable in class monq.jfa.DfaRun
returned by next() on EOF.
EPSILON - Static variable in class monq.jfa.Nfa
value of an enumeration type to be passed to Nfa.Nfa(Nfa.EmptyNfaType).
Eq - Static variable in class monq.jfa.Xml
defines the equation sign surrouned by optional space used to separate attributes from their values.
equals(Object) - Method in class monq.jfa.actions.Call
returns true if and only if _o is a Call object and invokes the same method name.
equals(Object) - Method in class monq.jfa.actions.Embed
 
equals(Object) - Method in class monq.jfa.actions.Replace
 
escape(String) - Method in class monq.jfa.Nfa
escapes special characters in s according to the rules of the current ReParser set for this.
escape(StringBuilder, CharSequence, int) - Method in class monq.jfa.Nfa
is only a pass-through to getReParser().escape(...)
escape(StringBuilder, CharSequence, int) - Method in class monq.jfa.ReClassicParser
 
escape(StringBuilder, CharSequence, int) - Method in interface monq.jfa.ReParser
starting with the character at startAt the given CharSequence is copied to out while all characters with special meaning for this parser are suitably escaped.
ETag(String) - Static method in class monq.jfa.Xml
returns a string matching an XML end tag the name of which matches the given regular expression.
ETag() - Static method in class monq.jfa.Xml
returns a regular expression which matches any end tag.
ETOLESSFROM - Static variable in exception monq.jfa.ReSyntaxException
 
ETOOMANYREPORTING - Static variable in exception monq.jfa.ReSyntaxException
 
Exec - Class in monq.stuff
encapsulates a java.lang.Process object, feeds it with input and collects the output.
Exec(Process, InputStream, OutputStream, OutputStream) - Constructor for class monq.stuff.Exec
creates an execution environment which feeds the given process input, collects its output and registers the exit code.
Exec(Process) - Constructor for class monq.stuff.Exec
creates an execution environment for the running process p which immediately closes its standard input and collects standard output and standard error output internally.
EXPIRED - Static variable in exception monq.jfa.UnavailablePositionException
 
Extender - Static variable in class monq.jfa.Xml
a regular expression matching an XML Extender.

F

FaAction - Interface in monq.jfa
describes the interface to objects implementing actions associated with stop states of a finite automaton.
factory - Static variable in class monq.jfa.ReClassicParser
is a factory object that creates instances of ReClassicParser.
Fail - Class in monq.jfa.actions
implements an FaAction which unconditionally throws a CallbackException with the message specified in the constructor.
Fail(String) - Constructor for class monq.jfa.actions.Fail
create an action which fails with the given message.
FaToDot - Class in monq.jfa
contains a static function to output a finite automaton as a graph to be printed by the fine dot utility.
Feeder - Interface in monq.stuff
Implementations of Feeder start feeding data to the OutputStream passed to setOut() as soon as their Runnable.run() method is called.
FETCH - Static variable in class monq.jfa.RegexpSplitter
constructor parameter to fetch parts defined by a regular expression.
filter(StringBuilder) - Method in class monq.jfa.DfaRun
reads and filters input, copying it to the output until EOF is hit.
filter(PrintStream) - Method in class monq.jfa.DfaRun
reads and filters input, copying it to the output until EOF is hit.
filter(String) - Method in class monq.jfa.DfaRun
reads and filters the given input and returns the filtered result.
filter() - Method in class monq.jfa.DfaRun
run the machine until EOF is hit.
FilterServiceFactory - Class in monq.net
sets up a filter service as returned by any ServiceFactory as an element of a distributed pipe.
FilterServiceFactory(ServiceFactory) - Constructor for class monq.net.FilterServiceFactory
create a filter service factory to connect services created by clientFactory to an upstream server.
FilterSvrInfo - Class in monq.net
describes a filter server running somewhere on the network.
FilterSvrInfo(String, String, String, int) - Constructor for class monq.net.FilterSvrInfo
 
find(CharSequence, int) - Method in class monq.jfa.Regexp
tries to find this in s starting at position start.
find(CharSequence) - Method in class monq.jfa.Regexp
tries to find this in s.
find(CharSequence, CharSequence, int) - Static method in class monq.jfa.Regexp
tries to find regexp in s starting at position start.
finished() - Method in class monq.stuff.Exec
asynchronuously tests if the process finished in the meantime.
FixedString(StringBuilder) - Constructor for class monq.jfa.SimpleFormatters.FixedString
creates a Formatter to append the content of the other when its format method is called.
format(StringBuilder, TextStore, Map<Object, Object>) - Method in interface monq.jfa.Formatter
arranges (some of) the pieces of text found in st or m in an implementation dependend manner and appends them to out.
format(StringBuilder, TextStore, Map<Object, Object>) - Method in class monq.jfa.PrintfFormatter
 
format(StringBuilder, TextStore, Map<Object, Object>) - Method in class monq.jfa.SimpleFormatters.FixedString
 
format(StringBuilder, TextStore, Map<Object, Object>) - Method in class monq.jfa.SimpleFormatters.GetVar
 
format(StringBuilder, TextStore, Map<Object, Object>) - Method in class monq.jfa.SimpleFormatters.Part
 
format(StringBuilder, TextStore, Map<Object, Object>) - Method in class monq.jfa.SimpleFormatters.PartLen
 
format(StringBuilder, TextStore, Map<Object, Object>) - Method in class monq.jfa.SimpleFormatters.PartSeq
 
Formatter - Interface in monq.jfa
defines the interface to classes which rearrange text parts stored in a TextStore and/or in a java.util.Map append them to a StringBuilder.
from(Properties) - Static method in class monq.net.FilterSvrInfo
reads the configuration file and returns a FilterSvrInfo object.
fromFile(String) - Static method in class monq.net.FilterSvrInfo
calls read() and stores any exception thrown in the object returned.

G

ge(int) - Method in class monq.jfa.actions.Count
returns a Verifier which returns true if the counter is greater than or equal to the given threshold.
getAt(int) - Method in class monq.jfa.Intervals
 
getDefaultParserFactory() - Static method in class monq.jfa.Nfa
returns the default parser factory used by Nfas to obtain a default ReParser.
getDfa() - Method in class monq.jfa.DfaRun
returns the Dfa operated by this.
getDfa() - Method in class monq.jfa.Regexp
 
getDfa() - Method in class monq.programs.DictFilter
returns the dictionary DFA.
getEnd(int) - Method in class monq.jfa.TextStore
 
getErrorText() - Method in class monq.stuff.Exec
if no explicit output sink was specified in the constructor, this method returns the output collected from the process.
getETagName(StringBuilder, int) - Static method in class monq.jfa.Xml
return the name of an end tag.
getException() - Method in class monq.net.DfaRunService
 
getException() - Method in interface monq.net.Service
objects implementing this interface should return any exception worth reporting that happened during run().
getException() - Method in class monq.stuff.AbstractPipe
 
getException() - Method in class monq.stuff.Exec
returns whatever Exception happened in one of the Pipe threads used to copy data to the process or read output or error from the process.
getException() - Method in interface monq.stuff.Plumbable
returns an exception which happend in the run()-method, if any.
getFailedMatchBehaviour() - Method in class monq.jfa.DfaRun
returns the currently active behaviour for unmatched input.
getFirstAt(int) - Method in class monq.jfa.Intervals
 
getHost() - Method in class monq.net.PipelineRequest
returns the hostname to contact as it was specified in the constructor.
getId(int) - Method in class monq.jfa.TextStore
retrieves the small integer value which can be associated with a part.
getIn() - Method in class monq.jfa.DfaRun
returns the currently active input source.
getIn() - Method in class monq.stuff.Pipe
returns the current input stream the pipe is reading.
getLastAt(int) - Method in class monq.jfa.Intervals
 
getLongValue(String) - Method in class monq.clifj.Commandline
returns the first element of the vector returned by Commandline.getValues(String) and casted and converted to long.
getLongValues(String) - Method in class monq.clifj.Commandline
 
getMap() - Method in interface monq.jfa.actions.MapProvider
return the java.util.Map provided by this object.
getMemoryForSpeedTradeFactor() - Method in class monq.jfa.Nfa
 
getMethodName() - Method in class monq.jfa.actions.Call
returns the method name specified in the constructor.
getName() - Method in class monq.jfa.ctx.Context
returns the name of this Context.
getName() - Method in class monq.net.PipelineRequest
retuns the name as set with in the constructor or the string getHost()+":"+getPort().
getNumParts() - Method in class monq.jfa.TextStore
returns the number of currently stored parts.
getOut() - Method in class monq.stuff.Pipe
returns the current output stream the pipe is writing to.
getOutputText() - Method in class monq.stuff.Exec
if no explicit error output sink was specified in the constructor, this method returns the error text collected from the process.
getPart(StringBuilder, int) - Method in class monq.jfa.TextStore
appends the requested part to the given StringBuilder.
getPart(int) - Method in class monq.jfa.TextStore
returns the requested part.
getPart(StringBuilder, int, int, int) - Method in class monq.jfa.TextStore
appends a substring of the requested part to the given StringBuilder.
getPart(int, int, int) - Method in class monq.jfa.TextStore
returns a substring of the requested part.
getPartLen(int) - Method in class monq.jfa.TextStore
returns the length of the requested part.
getPort() - Method in class monq.net.PipelineRequest
returns the port to contact as it was specified in the constructor.
getReParser() - Method in class monq.jfa.Nfa
returns the regular expression parser currently used by this Nfa.
getRequest() - Method in class monq.net.FilterSvrInfo
returns a copy of the request object to contact this server.
getStack() - Method in interface monq.jfa.ctx.ContextStackProvider
returns the List provided as a stack.
getStart(DfaRun) - Method in class monq.jfa.actions.Hold
returns the position this object current refers to as the start position where data is being hold back.
getStart(int) - Method in class monq.jfa.TextStore
 
getStatistics(Nfa, Writer) - Static method in class monq.jfa.Statistics
compute statistical data for a Nfa.
getStatistics(Dfa, Writer) - Static method in class monq.jfa.Statistics
getStringValue(String) - Method in class monq.clifj.Commandline
returns the first element of the vector returned by Commandline.getValues(String) and casted to String.
getStringValues(String) - Method in class monq.clifj.Commandline
 
getTypeName() - Method in class monq.clifj.BooleanOption
 
getTypeName() - Method in class monq.clifj.LongOption
 
getValue(String) - Method in class monq.clifj.Commandline
returns the first element of the vector returned by getValues.
getValue() - Method in class monq.clifj.Option
returns the first element of the vector returned by getValues.
getValue(DfaRun) - Method in class monq.jfa.actions.Count
given the DfaRun which has just the right MapProvider in its clientData field, this returns the current counter value.
getValues(String) - Method in class monq.clifj.Commandline
returns the arguments found on the command line or set as a default for this option.
getValues() - Method in class monq.clifj.Option
returns the arguments found on the command line or set as a default for this option.
GetVar(String) - Constructor for class monq.jfa.SimpleFormatters.GetVar
sets up a formatter that inserts retrieves key from the Map passed to format() and appends the result to the output.
GoofedElement(String) - Static method in class monq.jfa.Xml
creates a regular expression to match a whole XML element including the start tag with its optional attributes, the content and the end tag.
Grep - Class in monq.programs
is a class and a command line program to copy input to output depending on matching regular expressions.
Grep(boolean, boolean, String[]) - Constructor for class monq.programs.Grep
create a Grep without ROI.
Grep(String, String, String, String, DfaRun.FailedMatchBehaviour, boolean, boolean, boolean, String[]) - Constructor for class monq.programs.Grep
create a Grep with ROI.

H

hashCode() - Method in class monq.jfa.actions.Call
 
hashCode() - Method in class monq.jfa.actions.Embed
 
hashCode() - Method in class monq.jfa.actions.Replace
 
Hold - Class in monq.jfa.actions
hold back output until a decision can be made whether to ship or to drop filtered output.
Hold() - Constructor for class monq.jfa.actions.Hold
 
host - Variable in class monq.net.FilterSvrInfo
name of the machine on which the server is running

I

If - Class in monq.jfa.actions
run one or another FaAction depending on the outcome of asking a Verifier.
If(Verifier, FaAction, FaAction) - Constructor for class monq.jfa.actions.If
 
IfContext - Class in monq.jfa.ctx
is an FaAction to execute different client actions depending on the Context in which IfContext.invoke() is called.
IfContext() - Constructor for class monq.jfa.ctx.IfContext
create an action which does only perform default actions.
IfContext(Context, FaAction) - Constructor for class monq.jfa.ctx.IfContext
creates an FaAction to run the given client action if called in the given Context.
ifthen(Context, FaAction) - Method in class monq.jfa.ctx.IfContext
defines to call the given action when this object's invoke method is called in the given context.
insert(int[], int, int) - Static method in class monq.stuff.ArrayUtil
inserts elem at index pos in ary by shifting all elements at indices greater pos to a one larger index position.
insert(char[], int, char) - Static method in class monq.stuff.ArrayUtil
 
insert(byte[], int, byte) - Static method in class monq.stuff.ArrayUtil
 
insert(Object[], int, Object) - Static method in class monq.stuff.ArrayUtil
 
Intervals<D> - Class in monq.jfa
Used to construct CharTrans objects of different implementations.
Intervals() - Constructor for class monq.jfa.Intervals
 
IntervalsFaState - Class in monq.jfa
Used to construct CharTrans objects of different implementations.
IntervalsFaState() - Constructor for class monq.jfa.IntervalsFaState
 
invert(D) - Method in class monq.jfa.Intervals
inverts the mapped and unmapped intervals.
invert() - Method in class monq.jfa.Nfa
inverts the automaton, such that the resulting automaton will match the set-complement of the set of strings matched by the given automaton.
invert() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.invert() on the top element of the expression stack.
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Call
calls the method specified in the constructor by finding it in run.clientData via reflection.
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Copy
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Count
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.DefaultAction
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Drop
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Embed
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Fail
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Hold
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.If
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.LowerCase
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Printf
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Replace
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Run
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.SearchReplace
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Stop
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.Store
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.SwitchDfa
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.TailContextN
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.actions.UpperCase
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.ctx.Context
 
invoke(StringBuilder, int, DfaRun) - Method in class monq.jfa.ctx.IfContext
required by interface FaAction.
invoke(StringBuilder, int, DfaRun) - Method in interface monq.jfa.FaAction
is called by methods of DfaRun in case of a match.
iterator() - Method in class monq.jfa.PlainSet
 

K

KEYRE - Static variable in class monq.net.PipelineRequest
is the regular that must be matched by a key passed to put().

L

length() - Method in class monq.jfa.Regexp
returns the number of characters matched by the most recent match call to any of matches, atStartOf or find.
length() - Method in class monq.jfa.TextStore
returns the size of the currently stored text.
Letter - Static variable in class monq.jfa.Xml
a regular expression matching an XML Letter.
line - Variable in exception monq.jfa.ReSyntaxException
 
logStats() - Static method in class monq.jfa.Intervals
 
longestPathlen - Variable in class monq.jfa.Statistics
longest loop free path to a stop state
LongOption - Class in monq.clifj
is a command line option with long valued arguments.
LongOption(String, String, String, int, int, long, long, Object[]) - Constructor for class monq.clifj.LongOption
creates a command line option with default.
LongOption(String, String, String, int, int, long, long) - Constructor for class monq.clifj.LongOption
 
LowerCase - Class in monq.jfa.actions
implements an FaAction which applies Character.toLowerCase to every character of the match.
LowerCase() - Constructor for class monq.jfa.actions.LowerCase
 
LowerCase(int) - Constructor for class monq.jfa.actions.LowerCase
 
LOWERCASE - Static variable in class monq.jfa.actions.LowerCase
a predefined FaAction with priority 0 which applies Character.toLowerCase() to every character of the match.

M

main(String[]) - Static method in class monq.ie.Term2Re
applies Term2Re.convert to every line read from System.in and writes the result to System.out.
main(String[]) - Static method in class monq.jfa.FaToDot
each command line argument is taken to be a regular expression which is added to a Nfa with a unique action.
main(String[]) - Static method in class monq.programs.DictFilter
run on the commandline with -h to get a description.
main(String[]) - Static method in class monq.programs.DistFilter
 
main(String[]) - Static method in class monq.programs.Grep
call with command line option "-h" for a short summary of operation.
MapProvider - Interface in monq.jfa.actions
Objects implementing this interface are needed by some FaAction callbacks to perform their task.
markAsSub() - Method in class monq.jfa.Nfa
marks this automaton as a reporting subautomaton.
markAsSub() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.markAsSub() on the top element of the expression stack.
match(CharSource, StringBuilder, TextStore) - Method in class monq.jfa.Dfa
determine a matching prefix of in and deliver respective data.
matches(CharSequence, int) - Method in class monq.jfa.Regexp
checks if the whole input sequence starting at position pos can be matched.
matches(CharSequence) - Method in class monq.jfa.Regexp
checks if the whole input sequence can be matched.
matches(CharSequence, CharSequence, int) - Static method in class monq.jfa.Regexp
checks if the complete tail of s starting at start matches regexp.
matchesEmpty() - Method in class monq.jfa.Dfa
returns true if this automaton can match the empty string.
matchMax - Variable in class monq.jfa.Dfa
maximum length a match can have.
matchStart() - Method in class monq.jfa.DfaRun
is a helper function which should only be called immediately after calling next() or DfaRun.read(StringBuilder) to get the position where the match starts.
maxCopy - Variable in class monq.jfa.DfaRun
defines the maximum number of unmatched characters handled in one chunk when the machinery is operating in DfaRun.UNMATCHED_COPY mode.
MEM_ARRAY_OVERHEAD - Static variable in class monq.stuff.Sizeof
 
MEM_CHAR_INARRAY - Static variable in class monq.stuff.Sizeof
 
MEM_OBJ_OVERHEAD - Static variable in class monq.stuff.Sizeof
 
MEM_PTR_SIZE - Static variable in class monq.stuff.Sizeof
 
mergeWith(FaAction) - Method in class monq.jfa.AbstractFaAction
 
mergeWith(FaAction) - Method in class monq.jfa.actions.DefaultAction
always returns other.
mergeWith(FaAction) - Method in class monq.jfa.ctx.IfContext
 
mergeWith(FaAction) - Method in interface monq.jfa.FaAction
is eventually called by Nfa.compile(monq.jfa.DfaRun.FailedMatchBehaviour, monq.jfa.FaAction) to create a unified action from this object and another FaAction object.
Misc - Class in monq.jfa
Miscellaneous static functions.
monq.clifj - package monq.clifj
implements a command line parser for java programs far superiour to getopt style command line processing, because consistent usage information is maintainted.
monq.ie - package monq.ie
functionality specifically targeting natural language processing.
monq.jfa - package monq.jfa
Implements Finite Automata, deterministic and nondeterministic, with an engine for high throughput filtering of text.
monq.jfa.actions - package monq.jfa.actions
contains general purpose classes to be used as callbacks in finite automata created with package monq.jfa.
monq.jfa.ctx - package monq.jfa.ctx
adds support for recursive parsing to jfa that in particular allows easy XML parsing as an alternative to SAX.
monq.jfa.xml - package monq.jfa.xml
classes in addition to the main Xml which help to work with XML.
monq.net - package monq.net
Simple tcp server and clients.
monq.programs - package monq.programs
a collection of command line programs.
monq.stuff - package monq.stuff
contains assorted stuff which does not fit anywhere else.

N

Name - Static variable in class monq.jfa.Xml
defines the the regular expression which matches a tag- or attribute-name.
name - Variable in class monq.net.FilterSvrInfo
the name of the server, derived from the file name from which the configuration was loaded.
NameChar - Static variable in class monq.jfa.Xml
a regular expression matching an XML NameChar.
newReParser() - Method in interface monq.jfa.ReParserFactory
is a factory method that creates (must create) a new ReParser of the same type each time it is called.
next(StringBuilder) - Method in class monq.jfa.DfaRun
finds the next match in the current input, appends it to out and returns the FaAction associated with the match.
Nfa - Class in monq.jfa
models a non-deterministic finite automaton.
Nfa() - Constructor for class monq.jfa.Nfa
creates an automaton that recognizes nothing but is suitable to be filled with calls to any of the or() methods.
Nfa(Nfa.EmptyNfaType) - Constructor for class monq.jfa.Nfa
creates an Nfa which does either not match anything or only the empty string.
Nfa(CharSequence, FaAction) - Constructor for class monq.jfa.Nfa
creates an Nfa from the given regular expression and assigns the given action to the stop state.
Nfa(CharSequence) - Constructor for class monq.jfa.Nfa
calls Nfa.Nfa(CharSequence,FaAction) with the 2nd parameter set to null.
NfaParserView - Interface in monq.jfa
is the interface to be used by an ReParser to fill an Nfa.
nfaStates - Variable in class monq.jfa.Statistics
number of states with at least one epsilon move.
NomatchException - Exception in monq.jfa
is the exception thrown by methods in DfaRun whenever no match can be found at the current input position.
NomatchException(String) - Constructor for exception monq.jfa.NomatchException
 
not() - Method in class monq.jfa.Nfa
implements the request match everthing but X.
not() - Method in interface monq.jfa.NfaParserView
 
NOTHING - Static variable in class monq.jfa.Nfa
value of an enumeration type to be passed to Nfa.Nfa(Nfa.EmptyNfaType).
NOTYET - Static variable in exception monq.jfa.UnavailablePositionException
 
nullInstance() - Static method in class monq.jfa.actions.DefaultAction
returns an instance with no default.
NULLSPLITTER - Static variable in interface monq.jfa.TextSplitter
is an instance of a TextSplitter which does not split the incoming text at all, but appends it completely as a new part onto the given TextStore.
NumParts - Static variable in class monq.jfa.SimpleFormatters
this Formatter will append the number of parts of the TextStore passed in.
numStates - Variable in class monq.jfa.Statistics
the number of states in the FA

O

objectArrayMemEstimate(int) - Static method in class monq.stuff.Sizeof
 
ok(DfaRun) - Method in interface monq.jfa.actions.Verifier
classes implementing this interface are expected to collect information over time.
ok() - Method in class monq.stuff.Exec
returns true if the process execution went well.
open(PipelineRequest[], Feeder) - Method in class monq.net.DistPipeFilter
sets up the pipeline as determined by request to be fed by the given Feeder.
Option - Class in monq.clifj
is a general command line option with zero or more string values.
Option(String, String, String, int, int) - Constructor for class monq.clifj.Option
creates a command line option.
Option(String, String, String, int, int, Object[]) - Constructor for class monq.clifj.Option
creates a command line option with default.
optional() - Method in class monq.jfa.Nfa
transforms this finite automaton to match the empty string too.
optional() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.optional() on the top element of the expression stack.
or(CharSequence, FaAction) - Method in class monq.jfa.Nfa
adds the given regular expression re to the automaton and associates it with the given action.
or(CharSequence) - Method in class monq.jfa.Nfa
adds the given regular expression to the automaton (expert only).
or(Nfa) - Method in class monq.jfa.Nfa
joins the other Nfa into this automaton while keeping all stop states and assigned actions.
or() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.or(Nfa) on the two top elements on the expression stack.
overwrite(char, char, D) - Method in class monq.jfa.Intervals
 

P

Pair() - Constructor for class monq.stuff.Sizeof.Pair
 
parse(String[]) - Method in class monq.clifj.Commandline
parses the given command line.
parse(NfaParserView, CharSequence) - Method in class monq.jfa.ReClassicParser
 
parse(NfaParserView, CharSequence) - Method in interface monq.jfa.ReParser
parses regex while building up the automaton in nfa.
Part(int, int, int) - Constructor for class monq.jfa.SimpleFormatters.Part
the parameters will be passed one-to-one to TextStore.getPart(java.lang.StringBuilder, int).
PartLen(int) - Constructor for class monq.jfa.SimpleFormatters.PartLen
 
PartSeq(int, int, String, int, int) - Constructor for class monq.jfa.SimpleFormatters.PartSeq
the parameters define the range of parts to be concatenated by the format method.
PartSeq(int, int) - Constructor for class monq.jfa.SimpleFormatters.PartSeq
 
PI - Static variable in class monq.jfa.Xml
a regular expression matching a processing instruction.
Pipe - Class in monq.stuff
implements a threadable pipe.
Pipe(int) - Constructor for class monq.stuff.Pipe
constructs a Pipe with no input or output yet specified.
Pipe(InputStream, OutputStream, boolean, int) - Constructor for class monq.stuff.Pipe
creates a Pipe which connects an InputStream with an OutputStream.
PipelineRequest - Class in monq.net
Encapsulates a request for contact to a FilterServiceFactory.
PipelineRequest(String, String, int) - Constructor for class monq.net.PipelineRequest
creates a PipelineRequest to contact the given host on the given port.
PipelineRequest(String, int) - Constructor for class monq.net.PipelineRequest
calls the three parameter constructor with name=null.
PipelineRequest(PipelineRequest) - Constructor for class monq.net.PipelineRequest
returns copy of the given PipelineRequest.
PlainSet<E> - Class in monq.jfa
an implementation of Set based on a simple hashing scheme.
PlainSet() - Constructor for class monq.jfa.PlainSet
 
PlainSet(Collection<E>) - Constructor for class monq.jfa.PlainSet
 
PlainSet(int) - Constructor for class monq.jfa.PlainSet
 
Plumbable - Interface in monq.stuff
is an interface for a Runnable which wants to have set an input stream to read from and/or an output stream to write to before it is run.
plus() - Method in class monq.jfa.Nfa
applies the + operator to the NFA.
plus() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.plus() on the top element of the expression stack.
pop(List<Object>) - Static method in class monq.jfa.ctx.ContextManager
is a convenience method to help client actions to operate the List provided by the ContextStackProvider via DfaRun.clientData as a stack.
pop(StringBuilder) - Method in class monq.jfa.EmptyCharSource
 
pop(StringBuilder, int) - Method in class monq.jfa.EmptyCharSource
 
port - Variable in class monq.net.FilterSvrInfo
port number on which the server is listening
position(int) - Method in class monq.jfa.ByteCharSource
returns the byte position counted from the start of the input stream for the character referenced by charNo.
print(PrintStream, FaState, FaState) - Static method in class monq.jfa.FaToDot
prints a finite automaton in a format suitable for dot.
print(PrintWriter) - Method in class monq.jfa.Statistics
dumps the object's contents.
printable(char) - Static method in class monq.jfa.FaToDot
 
printable(char) - Static method in class monq.jfa.Misc
converts a character into something which can be printed on the console
printable(StringBuilder, char) - Static method in class monq.jfa.Misc
 
printable(CharSequence) - Static method in class monq.jfa.Misc
 
Printf - Class in monq.jfa.actions
implements an FaAction to apply a PrintfFormatter to the matched text.
Printf(TextSplitter, Formatter, int) - Constructor for class monq.jfa.actions.Printf
creates an FaAction to format the matching text according to a Formatter.
Printf(boolean, String) - Constructor for class monq.jfa.actions.Printf
create an FaAction to format a match according to the given format string.
Printf(String) - Constructor for class monq.jfa.actions.Printf
creates an FaAction to format a match according to the given format string.
PrintfFormatter - Class in monq.jfa
implements a Formatter which uses a format string to print parts from a TextStore into a StringBuilder.
PrintfFormatter(CharSequence) - Constructor for class monq.jfa.PrintfFormatter
 
PrintfFormatter(CharSequence, int) - Constructor for class monq.jfa.PrintfFormatter
 
printTypes(PrintStream, Map<Class<?>, Map<Class<?>, Sizeof.Pair>>) - Static method in class monq.stuff.Sizeof
prints the result produced with sizeof().
ProgramName - Variable in class monq.clifj.Commandline
 
pushBack(StringBuilder, int) - Method in class monq.jfa.ByteCharSource
while satisfying CharSource.pushBack(java.lang.StringBuilder, int), this method also adjusts the internal referencing the byte position of the the most recently delivered character.
pushBack(StringBuilder, int) - Method in interface monq.jfa.CharSource
moves the tail of buf starting with character index startAt back onto the character source while deleting them from the given StringBuilder.
pushBack(StringBuilder, int) - Method in class monq.jfa.EmptyCharSource
 
pushCharSet(CharSequence, boolean) - Method in interface monq.jfa.NfaParserView
pushes an automaton representation on the expression stack that recognizes a string of length 1 made up of one character from a character set.
pushDot() - Method in interface monq.jfa.NfaParserView
is a convenience method that calls NfaParserView.pushCharSet(java.lang.CharSequence, boolean) such that all characters are specified.
pushString(CharSequence) - Method in interface monq.jfa.NfaParserView
pushes an automaton representation on the expression stack that recognizes exactly the given character sequence.
put(String, String) - Method in class monq.net.PipelineRequest
add a parameter to this request.
putParams(Map<String, String>) - Method in class monq.net.PipelineRequest
puts all key/value pairs that were stored via put() into params.

R

RE_SEP_WORD - Static variable in class monq.ie.Term2Re
2nd parameter passed to createConverter() when creating the default converter used by convert().
RE_SPLIT_WORD - Static variable in class monq.ie.Term2Re
first parameter passed to createConverter() when creating the default converter used by convert().
RE_TRAIL_CONTEXT - Static variable in class monq.ie.Term2Re
3rd parameter passed to createConverter() when creating the default converter used by convert().
read() - Method in class monq.jfa.ByteCharSource
 
read() - Method in class monq.jfa.CharSequenceCharSource
 
read() - Method in interface monq.jfa.CharSource
returns a single character or -1 to indicate end of file.
read(StringBuilder) - Method in class monq.jfa.DfaRun
delivers filtered data in naturally occuring chunks by appending to out.
read(StringBuilder, int) - Method in class monq.jfa.DfaRun
reads and filters input until out is grown by count characters.
read() - Method in class monq.jfa.DfaRun
reads and filters input until at least one character is available or EOF is hit.
read() - Method in class monq.jfa.EmptyCharSource
 
read() - Method in class monq.jfa.ReaderCharSource
 
readAll(String) - Static method in class monq.net.FilterSvrInfo
assumes that all files with suffix ".svr" in the given directory are configuration files.
ReaderCharSource - Class in monq.jfa
wraps Reader or an input stream into a CharSource.
ReaderCharSource() - Constructor for class monq.jfa.ReaderCharSource
make sure to call setSource() before using this object.
ReaderCharSource(Reader) - Constructor for class monq.jfa.ReaderCharSource
 
ReaderCharSource(InputStream, String) - Constructor for class monq.jfa.ReaderCharSource
wraps the InputStream into a Reader, using an encoding for the given character set.
ReaderCharSource(InputStream) - Constructor for class monq.jfa.ReaderCharSource
 
ReaderFeeder - Class in monq.stuff
implements a Feeder that feeds data read from a Reader to the output specified by setOut().
ReaderFeeder(Reader, String, int) - Constructor for class monq.stuff.ReaderFeeder
creates the Feeder to feed in to an OutputStream while encoding characters with the character set given by csname.
ReClassicParser - Class in monq.jfa
implements the regular expression syntax classically used by monq.jfa.
Reference - Static variable in class monq.jfa.Xml
a regular expression matching an XML Reference.
Regexp - Class in monq.jfa
convenience class for matching regular expressions.
Regexp(CharSequence) - Constructor for class monq.jfa.Regexp
create a Regexp object for the given regular expression.
RegexpSplitter - Class in monq.jfa
implements a TextSplitter to split text according to a regular expression.
RegexpSplitter(CharSequence, int) - Constructor for class monq.jfa.RegexpSplitter
creates a TextSplitter to split text according the given regular expression re.
release(int) - Method in class monq.stuff.Semaphore
releases the given slot and thereby allows other threads to acquire it.
remove(Object) - Method in class monq.jfa.PlainSet
 
reParser - Static variable in class monq.ie.Term2Re
4th parameter passed to createrConverter() when creating the default converter used by convert().
ReParser - Interface in monq.jfa
defines the interface needed by an Nfa to "fill" itself with a regular expression.
ReParserFactory - Interface in monq.jfa
defines the factory interface to create instances of ReParser.
Replace - Class in monq.jfa.actions
implements an FaAction which replaces the matched input with a fixed string.
Replace(String) - Constructor for class monq.jfa.actions.Replace
calls the 2 parameter constructor with priority==0.
Replace(String, int) - Constructor for class monq.jfa.actions.Replace
creates an FaAction with the given priority which replaces the matched text with the string given.
required() - Method in class monq.clifj.Option
converts the option into a required command line argument and Commandline.parse() will check this.
reset() - Method in class monq.jfa.actions.Count
returns an FaAction which resets the counter to zero.
reset() - Method in class monq.jfa.Intervals
reset to the state of a freshly constructed object.
resetStats() - Static method in class monq.jfa.Intervals
 
resize(int[], int) - Static method in class monq.stuff.ArrayUtil
allocates a new array with the given newSize and copies the content of old into the new array up to the maximum of newSize or old.length.
resize(char[], int) - Static method in class monq.stuff.ArrayUtil
 
resize(byte[], int) - Static method in class monq.stuff.ArrayUtil
 
resize(Object[], int) - Static method in class monq.stuff.ArrayUtil
 
ReSyntaxException - Exception in monq.jfa
is thrown whenever a syntax error is found in a regular expression.
ReSyntaxException(String, String, int, int) - Constructor for exception monq.jfa.ReSyntaxException
 
roundUp(int) - Static method in class monq.stuff.Sizeof
 
Run - Class in monq.jfa.actions
runs several FaAction objects, one after another.
Run(FaAction) - Constructor for class monq.jfa.actions.Run
 
Run(FaAction, FaAction) - Constructor for class monq.jfa.actions.Run
 
Run(FaAction, FaAction, FaAction) - Constructor for class monq.jfa.actions.Run
 
Run(FaAction, FaAction, FaAction, FaAction) - Constructor for class monq.jfa.actions.Run
 
run() - Method in class monq.net.DfaRunService
 
run() - Method in class monq.net.TcpServer
calls TcpServer.serve() and catches exceptions to write them to the log.
run() - Method in class monq.stuff.AbstractPipe
calls AbstractPipe.pipe(), handles exceptions and closes input and output streams where necessary and requested.
run() - Method in class monq.stuff.ConvinceGC
is only public to satisfy the Runnable interface, so rather wrap an object of this class in a Thread and call its start() method.
run() - Method in class monq.stuff.Exec
feeds the process with input and collects the output according to the information given in the constructor.

S

S - Static variable in class monq.jfa.Xml
a regular expression matching an XML S, which is white space.
SearchReplace - Class in monq.jfa.actions
implements an FaAction which scans the matched text for a given regular expression and replaces those matches by applying a PrintfFormatter.
SearchReplace(String, TextSplitter, Formatter, int) - Constructor for class monq.jfa.actions.SearchReplace
creates an action to search and replace within a match.
SearchReplace(String, String) - Constructor for class monq.jfa.actions.SearchReplace
calls the four parameter constructor with sp=null and count==-1.
SearchReplace(String, String, int) - Constructor for class monq.jfa.actions.SearchReplace
calls the four parameter constructor with sp==null.
Semaphore - Class in monq.stuff
implements multi-slot semaphore.
Semaphore(int) - Constructor for class monq.stuff.Semaphore
creates a semaphore with the given number of slots.
SEP - Static variable in class monq.jfa.RegexpSplitter
constructor parameter to separate text according to a regular expression into matching and non-matching parts.
seq(CharSequence, FaAction) - Method in class monq.jfa.Nfa
extend the current automaton to recognize regex as a suffix of the strings already recognized and arrange for the given action to be called if the suffix was recognized.
seq(CharSequence) - Method in class monq.jfa.Nfa
calls Nfa.seq(CharSequence,FaAction) with null as the 2nd parameter.
seq(Nfa) - Method in class monq.jfa.Nfa
Concatenates other to this such that a sequence of characters vw is matched where v is matched by this and w is matched by other.
seq() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.seq(Nfa) on the two top elements on the expression stack.
serve() - Method in class monq.net.TcpServer
starts the server, waiting for connections and serving up to n requests in parallel.
Service - Interface in monq.net
is a Runnable that catches and stores exceptions thrown in its run() method such that Service.getException() can return it.
ServiceCreateException - Exception in monq.net
thrown if something goes wrong when creating a service.
ServiceCreateException(String) - Constructor for exception monq.net.ServiceCreateException
 
ServiceCreateException(Exception) - Constructor for exception monq.net.ServiceCreateException
 
ServiceCreateException(String, Exception) - Constructor for exception monq.net.ServiceCreateException
 
ServiceFactory - Interface in monq.net
an implementation of this interface is used by a TcpServer to fetch a fresh Service for each incoming connection.
ServiceUnavailException - Exception in monq.net
thrown if something goes wrong when creating a service because the service is currently unavailable, but is expected to work again in further requests.
ServiceUnavailException(String, Exception) - Constructor for exception monq.net.ServiceUnavailException
 
ServiceUnavailException(String) - Constructor for exception monq.net.ServiceUnavailException
 
setAt(int, D) - Method in class monq.jfa.Intervals
 
setDebug() - Method in class monq.net.TcpServer
given that logging was enabled with setLogging(), we now switch to really verbose logging.
setDecoder(CharsetDecoder) - Method in class monq.jfa.ByteCharSource
set the decoder to be used to decode the incoming bytes into char.
setDecoder(CharsetDecoder) - Method in class monq.stuff.Coder
sets the decoder to use.
setDefault(String[]) - Method in class monq.clifj.Option
defines default values for this Option.
setDefaultAction(FaAction) - Method in class monq.jfa.ctx.ContextManager
calls both, setDefaultStartAction() and setDefaultEndAction() with the given action.
setDefaultEndAction(FaAction) - Method in class monq.jfa.ctx.ContextManager
defines the default action to be applied to the text matching a context end.
setDefaultFMB(DfaRun.FailedMatchBehaviour) - Method in class monq.jfa.ctx.ContextManager
defines the default behaviour into which the DfaRun is switched, when a context is entered.
setDefaultParserFactory(ReParserFactory) - Static method in class monq.jfa.Nfa
sets the default parser factory used by Nfas to obtain a default ReParser.
setDefaultStartAction(FaAction) - Method in class monq.jfa.ctx.ContextManager
defines the default action to be applied to the text matching a context start.
setDfa(Dfa) - Method in class monq.jfa.actions.SwitchDfa
sets the Dfa this action switches the calling DfaRun to.
setDfa(Dfa) - Method in class monq.jfa.DfaRun
changes the Dfa to run.
setEncoder(CharsetEncoder, int) - Method in class monq.stuff.Coder
sets the encoder to use and requests to use a character buffer size of at least chBsize internally.
setEndAction(FaAction) - Method in class monq.jfa.ctx.Context
specifies the action which takes care of the text marking the end of the context.
setFMB(DfaRun.FailedMatchBehaviour) - Method in class monq.jfa.ctx.Context
specifies how the DfaRun should handle non-matching text within the context.
setFrom(CharTrans) - Method in class monq.jfa.IntervalsFaState
 
setIn(CharSource) - Method in class monq.jfa.DfaRun
changes the input source.
setIn(InputStream, boolean) - Method in class monq.stuff.AbstractPipe
 
setIn(InputStream, boolean) - Method in interface monq.stuff.Drainer
specifies the InputStream where to fetch the data in the run() method.
setIn(InputStream, boolean) - Method in interface monq.stuff.Plumbable
 
setInputBufferSize(int) - Method in class monq.jfa.ByteCharSource
set the size of the input buffer.
setInputEncoding(String) - Method in class monq.programs.DictFilter
force createService() to set up the filter with the given input encoding.
setLength(int) - Method in class monq.jfa.TextStore
 
setLogging(PrintStream) - Method in class monq.net.TcpServer
 
setLogging(PrintStream) - Method in class monq.stuff.ConvinceGC
after every call to gc, report the amount of memory allocated, used and the resulting percentage of free memory.
setMemoryForSpeedTradeFactor(float) - Method in class monq.jfa.Nfa
when creating DFA transitions during NFA to DFA compilation, the transition tables use different implementations, depending on how dense the transition table is.
setName(String) - Method in class monq.jfa.ctx.Context
sets the name of this object, which is currently only used to have Context.toString() return something useful.
setOnFailedMatch(DfaRun.FailedMatchBehaviour) - Method in class monq.jfa.DfaRun
changes the way how unmatched input is handled.
setOut(OutputStream, boolean) - Method in class monq.stuff.AbstractPipe
 
setOut(OutputStream, boolean) - Method in class monq.stuff.DfaRunFeeder
 
setOut(OutputStream, boolean) - Method in interface monq.stuff.Feeder
specifies the OutputStream where to deliver the data in the run() method.
setOut(OutputStream, boolean) - Method in interface monq.stuff.Plumbable
 
setOut(OutputStream, boolean) - Method in class monq.stuff.ReaderFeeder
 
setOutputEncoding(String) - Method in class monq.programs.DictFilter
 
setPart(int, int, int, byte) - Method in class monq.jfa.TextStore
defines the given part as the stretch of characters in the stored text starting at position start and reaching to the character just before end.
setPart(int, int, int) - Method in class monq.jfa.TextStore
calls the 4 parameter setPart() with id==-1.
setPopPriority(int) - Method in class monq.jfa.ctx.Context
this method is not implemented and will always throw an exception.
setPriority(int) - Method in class monq.jfa.AbstractFaAction
 
setReParser(ReParser) - Method in class monq.jfa.Nfa
sets the parser to be used by this Nfa.
setSource(ReadableByteChannel) - Method in class monq.jfa.ByteCharSource
sets the source to be read by this.
setSource(CharSequence) - Method in class monq.jfa.CharSequenceCharSource
 
setSource(CharSequence, int) - Method in class monq.jfa.CharSequenceCharSource
 
setSource(CharSequence, int, int) - Method in class monq.jfa.CharSequenceCharSource
 
setSource(Reader) - Method in class monq.jfa.ReaderCharSource
 
setSource(DfaRun) - Method in class monq.stuff.DfaRunFeeder
specifies the source java.lang.Reader from which to fetch the data to feed.
setSource(Reader) - Method in class monq.stuff.ReaderFeeder
specifies the source java.lang.Reader from which to fetch the data to feed.
setStartAction(FaAction) - Method in class monq.jfa.ctx.Context
specifies the action which shall take care of the text marking the start of the context.
setWindowSize(int) - Method in class monq.jfa.ByteCharSource
sets the size of the sliding window which keeps byte positions for characters recently delivered by ByteCharSource.read().
ship() - Method in class monq.jfa.actions.Hold
create an FaAction which ships (delivers) the output held back by this object.
shortest() - Method in class monq.jfa.Nfa
transforms the Nfa into an Nfa which only matches the shortest matches of the given Nfa.
shortest() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.shortest() on the top element of the expression stack.
shortestPathlen - Variable in class monq.jfa.Statistics
shortest path to a stop state
showParsed() - Method in class monq.clifj.Commandline
 
shutdown() - Method in class monq.net.DistPipeFilter
shuts down the TcpServer running on our behalf.
shutdown() - Method in class monq.net.TcpServer
closes the socket on which the server is accepting connections with the effect, that TcpServer.serve() immediately returns.
SimpleFormatters - Class in monq.jfa
This class is merely a container to wrap some very simple Formatters into one source file.
SimpleFormatters.FixedString - Class in monq.jfa
implements a Formatter which totally ignores the given TextStore and instead appends a predefined string to the destination buffer.
SimpleFormatters.GetVar - Class in monq.jfa
implements a Formatter the format method of which inserts an element from a Map into the output.
SimpleFormatters.Part - Class in monq.jfa
implements a Formatter the format method of which produces a substring of part of the given TextStore.
SimpleFormatters.PartLen - Class in monq.jfa
implements a Formatter the format method of which produces the length of a given part of the given TextStore.
SimpleFormatters.PartSeq - Class in monq.jfa
implements a Formatter the format method of which concatenates several parts of the given TextStore.
size() - Method in class monq.jfa.Intervals
 
size() - Method in class monq.jfa.PlainSet
 
size - Variable in class monq.stuff.Sizeof.Pair
accumulated size of objects counted.
Sizeof - Class in monq.stuff
estimator for the size of data structures.
sizeof(Object) - Static method in class monq.stuff.Sizeof
recursively delves into the object graph o and returns a Hashtable with information about object sizes and counts.
Sizeof.Pair - Class in monq.stuff
a pair of count and size describing use and size of a data type.
skip() - Method in class monq.jfa.DfaRun
reads one character immediately from the input source and returns it without filtering.
specialChars() - Method in class monq.jfa.Nfa
is a shortcut for .getReParser().specialChars()
specialChars() - Method in class monq.jfa.ReClassicParser
 
specialChars() - Method in interface monq.jfa.ReParser
provides all characters that have a special meaning for this parser
split(char) - Method in class monq.jfa.Intervals
Split whichever interval covers ch at ch and return the position of the left interval.
SPLIT - Static variable in class monq.jfa.RegexpSplitter
constructor parameter to split text according to a regular expression.
split(TextStore, StringBuilder, int) - Method in class monq.jfa.RegexpSplitter
 
split(TextStore, StringBuilder, int) - Method in interface monq.jfa.TextSplitter
separates the stretch of text defined by the suffix of source, starting at start into parts and stores the parts in dst.
splitElement(StringBuilder, int) - Static method in class monq.jfa.Xml
calls Xml.splitElement(Map,StringBuilder,int) with a freshly allocated HashMap and returns the filled map.
splitElement(Map<String, String>, StringBuilder, int) - Static method in class monq.jfa.Xml
splits a start tag, a complete XML element or the XML declaration into its parts and fills them into the given Map.
STag(String) - Static method in class monq.jfa.Xml
returns a string matching an XML start tag the name of which matches the given regular expression.
STag() - Static method in class monq.jfa.Xml
returns a regular expression matching any start tag.
star() - Method in class monq.jfa.Nfa
applies the Kleene closure (*) operator to the NFA.
star() - Method in interface monq.jfa.NfaParserView
performs the equivalent of Nfa.star() on the top element of the expression stack.
start() - Method in class monq.net.DistPipeFilter
start serving.
Statistics - Class in monq.jfa
computes statistical data about an Nfa or Dfa.
stats - Static variable in class monq.jfa.Intervals
 
StdCharEntities - Class in monq.jfa.xml
translates the standard character entities defined in the XML standard into the characters the represent.
StdCharEntities() - Constructor for class monq.jfa.xml.StdCharEntities
For high throughput non-synchronized use in one thread, get one instance of this class and reuse it consistently.
Stop - Class in monq.jfa.actions
implements an FaAction which resets the input of the calling DfaRun to the empty string by calling DfaRun.setIn(null).
Stop(int) - Constructor for class monq.jfa.actions.Stop
use only if Stop.STOP is not what you want, because you have to specify a priority.
STOP - Static variable in class monq.jfa.actions.Stop
a predefined FaAction with priority 0 which sets the input of the calling DfaRun to the empty string.
stopStates - Variable in class monq.jfa.Statistics
number of stop states found
Store - Class in monq.jfa.actions
an FaAction to store away the match in a Map.
Store(String) - Constructor for class monq.jfa.actions.Store
stores the match with the given key in a map obtained from a MapProvider expected to be found in the DfaRun.clientData field of the calling DfaRun object.
submatches(StringBuilder, int) - Method in class monq.jfa.DfaRun
may be called by a callback to retrieve see submatches.
submatches() - Method in class monq.jfa.Regexp
returns a TextStore which contains submatches, if any, pertaining to the most recent match.
swap() - Method in interface monq.jfa.NfaParserView
swaps the two top level elements on the expression stack.
SwitchDfa - Class in monq.jfa.actions
implements an FaAction which changes the Dfa operated by the calling DfaRun.
SwitchDfa(FaAction) - Constructor for class monq.jfa.actions.SwitchDfa
creates an FaAction to switch the calling DfaRun object to another Dfa.
SwitchDfa() - Constructor for class monq.jfa.actions.SwitchDfa
calls the 1 parameter constructor with action==null.
synopsis - Variable in class monq.net.FilterSvrInfo
a one line description of the server function

T

TAGNAME - Static variable in class monq.jfa.Xml
use this to retrieve the name of the tag from the map passed to splitElement(Map,StringBuilder,int).
TailContextN - Class in monq.jfa.actions
implements an FaAction which pushes a trailing context back into the input and then calls a client action.
TailContextN(int, FaAction) - Constructor for class monq.jfa.actions.TailContextN
creates an FaAction to push back the given number of characters into the input and then calls the given action.
TailContextN(int) - Constructor for class monq.jfa.actions.TailContextN
creates an FaAction to push back the given number of characters into the input and leaves the rest of the match untouched.
TcpServer - Class in monq.net
a simple socket server able to serve multiple client connections in parallel.
TcpServer(ServerSocket, ServiceFactory, int) - Constructor for class monq.net.TcpServer
creates a server to listen on the given socket.
TcpServer(int, ServiceFactory) - Constructor for class monq.net.TcpServer
creates a server to listen on the given port.
TcpServer(int, ServiceFactory, int) - Constructor for class monq.net.TcpServer
 
Term2Re - Class in monq.ie
is a collection of static functions to support the translation of a multi word terms into regular expression which matches that term as well as orthographic variations.
Term2Re() - Constructor for class monq.ie.Term2Re
 
text - Variable in exception monq.jfa.ReSyntaxException
 
TextSplitter - Interface in monq.jfa
defines the interface of a method which separates a string into parts and stores them in a TextStore.
TextStore - Class in monq.jfa
stores a text and parts of it in a (hopefully) efficient manner.
TextStore() - Constructor for class monq.jfa.TextStore
 
THROW - Static variable in class monq.jfa.actions.Unmatched
change the default behaviour of the calling DfaRun to DfaRun.UNMATCHED_THROW.
toChar(StringBuilder, int) - Static method in class monq.jfa.xml.StdCharEntities
replaces the standard character entities in place.
toChar(CharSequence) - Static method in class monq.jfa.xml.StdCharEntities
replaces the standard character entities in s and returns the result.
toCharTrans(double) - Method in class monq.jfa.IntervalsFaState
 
toDot(PrintStream) - Method in class monq.jfa.Dfa
prints a graph representation of the Dfa in the graphviz format.
toDot(String) - Method in class monq.jfa.Dfa
 
toDot(PrintStream) - Method in class monq.jfa.Nfa
 
toDot(String) - Method in class monq.jfa.Nfa
 
toEntities(StringBuilder, int) - Static method in class monq.jfa.xml.StdCharEntities
 
toEntities(CharSequence) - Static method in class monq.jfa.xml.StdCharEntities
 
toNfa() - Method in class monq.jfa.Dfa
converts the Dfa back into an Nfa in a way that this is totally useless afterwards.
toString() - Method in class monq.jfa.actions.Copy
 
toString() - Method in class monq.jfa.actions.DefaultAction
 
toString() - Method in class monq.jfa.actions.Drop
 
toString() - Method in class monq.jfa.actions.Embed
 
toString() - Method in class monq.jfa.actions.Fail
 
toString() - Method in class monq.jfa.actions.Printf
 
toString() - Method in class monq.jfa.actions.Replace
 
toString() - Method in class monq.jfa.actions.Stop
 
toString() - Method in class monq.jfa.ctx.Context
 
toString() - Method in class monq.jfa.ctx.IfContext
 
toString() - Method in class monq.jfa.Intervals
 
toString() - Method in class monq.jfa.PrintfFormatter
 
toString() - Method in exception monq.jfa.ReSyntaxException
 
toString() - Method in class monq.jfa.TextStore
 
toString() - Method in class monq.net.TcpServer
 

U

UnavailablePositionException - Exception in monq.jfa
is thrown by FileCharSource.position() if the position of a character is requested for which this position is no longer or not yet available.
UnavailablePositionException(String) - Constructor for exception monq.jfa.UnavailablePositionException
 
Unmatched - Class in monq.jfa.actions
contains actions to switch the default behaviour of a DfaRun object.
UNMATCHED_COPY - Static variable in class monq.jfa.DfaRun
requests the DfaRun object to copy input not matched by the DFA to the output.
UNMATCHED_DROP - Static variable in class monq.jfa.DfaRun
requests the DfaRun object to drop (delete) input not matched by the DFA.
UNMATCHED_THROW - Static variable in class monq.jfa.DfaRun
requests the DfaRun to throw an exception if it encounters input not matched by the DFA.
unskip(StringBuilder, int) - Method in class monq.jfa.DfaRun
shoves back characters into the input of the DfaRun while deleting them from the given StringBuilder.
unskip(String) - Method in class monq.jfa.DfaRun
shoves back characters into the input of the DfaRun.
unskip(TextStore, int) - Method in class monq.jfa.DfaRun
shoves back characters into the input of the DfaRun.
UpperCase - Class in monq.jfa.actions
implements an FaAction which applies Character.toUpperCase to every character of the match.
UpperCase(int) - Constructor for class monq.jfa.actions.UpperCase
 
UPPERCASE - Static variable in class monq.jfa.actions.UpperCase
a predefined FaAction with priority 0 which applies Character.toUpperCase() to every character of the match.

V

Verifier - Interface in monq.jfa.actions
used by If callbacks to get a decision.

W

wrapRoi(CharSequence, FaAction, DfaRun.FailedMatchBehaviour, CharSequence, FaAction, DfaRun.FailedMatchBehaviour, Nfa) - Static method in class monq.jfa.Misc
wraps a Nfa into another one which defines a region of interest (ROI).

X

Xml - Class in monq.jfa
provides static fields and methods which help to create regular expressions needed to parse XML.
XMLDecl - Static variable in class monq.jfa.Xml
a regular expression matching the XML Declaration.
A B C D E F G H I K L M N O P R S T U V W X 
monq-2.0.0