A B C D E F G H I J K L M N O P Q R S T U V W

A

AbstractFormat - Class in net.sf.japaki.text
This class provides a skeletal implementation of the Format class, to minimize the effort required to implement a format.
AbstractFormat() - Constructor for class net.sf.japaki.text.AbstractFormat
 
AbstractFormat.DefaultField - Class in net.sf.japaki.text
Miminal implementation of the Field class.
AbstractFormat.DefaultField(String) - Constructor for class net.sf.japaki.text.AbstractFormat.DefaultField
Creates a Field with the specified name.
AbstractGenericBean<B extends GenericBean<B>> - Class in net.sf.japaki.beans
Since a "normal" bean would require a new class for each of its properties, a generic bean provides a getValue and a setValue method to access all its properties with an instance of GenericProperty.
AbstractGenericBean() - Constructor for class net.sf.japaki.beans.AbstractGenericBean
 
AbstractGenericBean.GenericProperty<B extends AbstractGenericBean,V> - Class in net.sf.japaki.beans
Property implementation for AbstractGenericBean based on getValue and setValue.
AbstractGenericBean.GenericProperty(String, int, Class<V>) - Constructor for class net.sf.japaki.beans.AbstractGenericBean.GenericProperty
Constructs a new generic property.
AbstractParser<T> - Class in net.sf.japaki.text
Parser skeleton that creates a path of the traversed parsers for logging purposes.
AbstractParser(String) - Constructor for class net.sf.japaki.text.AbstractParser
Creates a new abstract parser.
add(Duration) - Method in class net.sf.japaki.basic.Duration
 
add(Throwable) - Method in exception net.sf.japaki.basic.MultiCauseException
Appends the specified cause to the list of causes.
add(T) - Method in interface net.sf.japaki.basic.Quasigroup
Add other to this object and return the sum.
add(Class<S>, Class<T>, Property<B, T>) - Method in class net.sf.japaki.kit.ParserStore
Adds a new property to the transformer repository.
add(Class<?>, Class<?>) - Method in class net.sf.japaki.kit.ParserStore
Inserts a new class pair in the implementation map.
add(String, ParserMold<?>) - Method in class net.sf.japaki.kit.ParserStore
Adds a mold to the mold repository.
add(String, SuperParserMold<?, ?, ?>) - Method in class net.sf.japaki.kit.ParserStore
Adds a mold to the mold repository.
add(String, Parser<B>, Class<T>) - Method in class net.sf.japaki.kit.ParserStore
Adds the parser to the mold map.
add(String, Class<T>, String) - Method in class net.sf.japaki.self.ParserBench
Adds a new parser to the underlying parser store.
add(String, Parser<B>, Class<T>) - Method in class net.sf.japaki.self.SyntaxParser
Adds a parser to the parser store
addDefault(String, ParserMold<?>) - Method in class net.sf.japaki.kit.ParserStore
Adds a mold to the mold repository and makes it default for its target type.
addDefault(String, SuperParserMold<?, ?, ?>) - Method in class net.sf.japaki.kit.ParserStore
Adds a mold to the mold repository and makes it default for its target type.
addEnum(Class<T>) - Method in class net.sf.japaki.self.ParserBench
Creates a mold from an enum type: Looks for a property file in the class path at the same place as the class file of the given type.
addParsersToEntry(ArrayList<Parser<? super SinglePropertyBean<ParserBean>>>) - Method in class net.sf.japaki.self.SyntaxParser
Adds the parsers to the main choice parser.
addTo(Calendar) - Method in class net.sf.japaki.basic.Duration
Add this duration to the calendar.
addTo(Date) - Method in class net.sf.japaki.basic.Duration
Add this duration to the date.
addTransformer(Class<S>, Class<T>, TwoWayTransformer<S, T>) - Method in class net.sf.japaki.kit.ParserStore
Adds a new transformer to the transformer repository.
append(CharSequence) - Method in class net.sf.japaki.text.WriterWithPosition
 
append(CharSequence, int, int) - Method in class net.sf.japaki.text.WriterWithPosition
 
append(char) - Method in class net.sf.japaki.text.WriterWithPosition
 
appendAndSetIndexes(StringBuffer, String, Format.Field, FieldPosition) - Static method in class net.sf.japaki.text.AbstractFormat
Appends the given text to the buffer.
ArrayProperty<B> - Class in net.sf.japaki.beans
Maps the contents of an array to a list of properties.
Assert - Class in net.sf.japaki.basic
A set of assertion methods.
assertElementsNotNull(String, List) - Static method in class net.sf.japaki.basic.Assert
Asserts that no element of a list is null.
assertNotNull(String, Object) - Static method in class net.sf.japaki.basic.Assert
Asserts that an object is not null.
assertPositive(String, int) - Static method in class net.sf.japaki.basic.Assert
Asserts that the value is greater than zero.

B

baseClassP - Static variable in class net.sf.japaki.self.PhraseBean
Property of the baseClass field
baseP - Static variable in class net.sf.japaki.self.OptionalParserBean
Property of the base field
beanP - Static variable in class net.sf.japaki.self.PhraseBean
Property of the bean field
BeanParser<B> - Class in net.sf.japaki.text
A parser for a bean.
BeanParser(List<Parser<? super B>>, String) - Constructor for class net.sf.japaki.text.BeanParser
Creates a new bean parser based on the specified parsers.
BeanParserBean - Class in net.sf.japaki.self
Parser bean for bean parsers.
BeanParserBean() - Constructor for class net.sf.japaki.self.BeanParserBean
 
beansP - Static variable in class net.sf.japaki.self.BeanParserBean
Property of the beans field
beansP - Static variable in class net.sf.japaki.self.ChoiceParserBean
Property of the beans field
BeanStoreException - Exception in net.sf.japaki.text
Thrown to indicate that a parsing result could not be stored properly.
BeanStoreException() - Constructor for exception net.sf.japaki.text.BeanStoreException
Constructs a new exception without detail message.
BeanStoreException(String) - Constructor for exception net.sf.japaki.text.BeanStoreException
Constructs a new exception with the specified detail message.
BeanStoreException(String, Throwable) - Constructor for exception net.sf.japaki.text.BeanStoreException
Constructs a new exception with the specified detail message and cause.
BeanStoreException(Throwable) - Constructor for exception net.sf.japaki.text.BeanStoreException
Constructs a new exception with the specified cause.

C

cast(Class<? super T>) - Static method in class net.sf.japaki.basic.ClassCast
Casts a class to a generic class
checkForException(String) - Method in class net.sf.japaki.text.ParseReader
Creates a parsing exception with the specified error message.
checkForException(String) - Method in class net.sf.japaki.text.ReaderWithPosition
 
ChoiceParser<T> - Class in net.sf.japaki.text
A choice parser selects the right parser out of a list of underlying parser depending on the input text for parsing or based on the source object for formatting.
ChoiceParser(List<Parser<? super T>>) - Constructor for class net.sf.japaki.text.ChoiceParser
Creates a new choice parser based on the specified parsers.
ChoiceParserBean - Class in net.sf.japaki.self
Parser bean for choice parsers.
ChoiceParserBean() - Constructor for class net.sf.japaki.self.ChoiceParserBean
 
ClassCast - Class in net.sf.japaki.basic
Fixes the problem that generic class literals do not exist.
ClassFormat - Class in net.sf.japaki.text
A format to parse class names.
close() - Method in class net.sf.japaki.io.ReaderProxy
 
close() - Method in class net.sf.japaki.io.RingBuffer
 
close() - Method in class net.sf.japaki.io.SlicedReader
 
close() - Method in class net.sf.japaki.text.ReaderWithPosition
 
close() - Method in class net.sf.japaki.text.WriterWithPosition
 
CollectionParser<E> - Class in net.sf.japaki.text
Parser for collections.
CollectionParser(Parser<SinglePropertyBean<E>>, Parser<Object>) - Constructor for class net.sf.japaki.text.CollectionParser
Creates a new collection parser based on the specified parser.
CollectionParserMold<V extends Collection<E>,E> - Class in net.sf.japaki.kit
Parser mold for collections.
CollectionParserMold(Class<V>, Factory<? extends V>) - Constructor for class net.sf.japaki.kit.CollectionParserMold
Constructs a collection parser mold from the given arguments.
compareTo(Duration) - Method in class net.sf.japaki.basic.Duration
 
compareTo(ParsingException) - Method in exception net.sf.japaki.text.ParsingException
Compares the error position of this exception with the position of the specified exception.
ConstantParserBean - Class in net.sf.japaki.self
Parser bean for constant parsers.
ConstantParserBean() - Constructor for class net.sf.japaki.self.ConstantParserBean
 
ConstantProperty<V> - Class in net.sf.japaki.beans
A property that always returns the same value instead of retrieving it from a bean.
copyFrom(T) - Method in interface net.sf.japaki.io.RestorableIO
Copies all values from the source object After the copy, this object behaves like the source.
copyFrom(ParseReader) - Method in class net.sf.japaki.text.ReaderWithPosition
Sets the status to the same as in the specified ReaderWithPosition.
copyFrom(ParseWriter) - Method in class net.sf.japaki.text.WriterWithPosition
 
create() - Method in class net.sf.japaki.basic.DefaultFactory
 
create() - Method in interface net.sf.japaki.basic.Factory
Creates a new instance of type T.
createMold(Parser<SinglePropertyBean<E>>, Parser<Object>) - Method in class net.sf.japaki.kit.CollectionParserMold
 
createMold(Parser<KeyValueBean<K, V>>, Parser<Object>) - Method in class net.sf.japaki.kit.MapParserMold
 
createMold(Parser<? super T>) - Method in class net.sf.japaki.kit.SuperParserMold
Creates a new FixedParserMold from the specified parser and the underlying type and factory.
createMold(Parser<B>, Parser<Object>) - Method in class net.sf.japaki.kit.SuperParserMold
Creates a new parser mold.

D

DateParserMold - Class in net.sf.japaki.kit
Parser mold based on a SimpleDateFormat.
DateParserMold(DateFormatSymbols) - Constructor for class net.sf.japaki.kit.DateParserMold
Creates a new date parser mold.
DateParserMold(Locale) - Constructor for class net.sf.japaki.kit.DateParserMold
Creates a new date parser mold.
DateParserMold() - Constructor for class net.sf.japaki.kit.DateParserMold
Creates a new date parser mold for the default locale.
DecimalParserMold - Class in net.sf.japaki.kit
Parser mold based on a DecimalFormat.
DecimalParserMold(DecimalFormatSymbols) - Constructor for class net.sf.japaki.kit.DecimalParserMold
Creates a new decimal parser mold.
DecimalParserMold(Locale) - Constructor for class net.sf.japaki.kit.DecimalParserMold
Creates a new decimal parser mold.
DecimalParserMold() - Constructor for class net.sf.japaki.kit.DecimalParserMold
Creates a new decimal parser mold for the default locale.
deepCopy() - Method in interface net.sf.japaki.io.RestorableIO
Provides a deep copy of this object.
deepCopy() - Method in class net.sf.japaki.text.ReaderWithPosition
Saves the current settings of this ReaderWithPosition.
deepCopy() - Method in class net.sf.japaki.text.WriterWithPosition
 
DefaultFactory<T> - Class in net.sf.japaki.basic
Provides a factory for classes with public default constructors.
DefaultFactory(Class<T>) - Constructor for class net.sf.japaki.basic.DefaultFactory
Creates a new factory for the given type.
DefaultFactory() - Constructor for class net.sf.japaki.basic.DefaultFactory
 
delimiterP - Static variable in class net.sf.japaki.self.BeanParserBean
Property of the delimiter field
delimiterP - Static variable in class net.sf.japaki.self.LeafParserBean
Property of the delimiter field
DUMMY - Static variable in class net.sf.japaki.text.EnumFormat
A dummy object used by EnumFormat.getInstanceFor(String)
dummyProperty() - Static method in class net.sf.japaki.beans.Properties
A property for values that are stored nowhere, it can be used like a "virtual" additional property of any bean.
DuplicateKeyException - Exception in net.sf.japaki.basic
Thrown to indicate that a key cannot be used again.
DuplicateKeyException() - Constructor for exception net.sf.japaki.basic.DuplicateKeyException
Constructs a new exception without detail message.
DuplicateKeyException(String) - Constructor for exception net.sf.japaki.basic.DuplicateKeyException
Constructs a new exception with the specified detail message.
DuplicateKeyException(String, Throwable) - Constructor for exception net.sf.japaki.basic.DuplicateKeyException
Constructs a new exception with the specified detail message and cause.
DuplicateKeyException(Throwable) - Constructor for exception net.sf.japaki.basic.DuplicateKeyException
Constructs a new exception with the specified cause.
Duration - Class in net.sf.japaki.basic
An elapsed time in milliseconds.
Duration(long) - Constructor for class net.sf.japaki.basic.Duration
Constructs a new duration.
Duration(int, int, int, int, int) - Constructor for class net.sf.japaki.basic.Duration
Constructs a new duration.
DurationFormat - Class in net.sf.japaki.text
DurationFormat is for formatting and parsing durations.
DurationFormat(String, Locale) - Constructor for class net.sf.japaki.text.DurationFormat
Constructs a new duration format.
DurationFormat(String) - Constructor for class net.sf.japaki.text.DurationFormat
Constructs a new duration format.
DurationFormat() - Constructor for class net.sf.japaki.text.DurationFormat
Constructs a duration format with a default pattern.
DurationParserMold - Class in net.sf.japaki.kit
Parser mold based on a DurationFormat.
DurationParserMold(Locale) - Constructor for class net.sf.japaki.kit.DurationParserMold
Creates a new duration parser mold.
DurationParserMold() - Constructor for class net.sf.japaki.kit.DurationParserMold
Creates a new duration parser mold for the default locale.

E

EnumFormat - Class in net.sf.japaki.text
A format for a finite set of objects.
EnumFormat(Map<Object, String>) - Constructor for class net.sf.japaki.text.EnumFormat
Constructs a new EnumFormat.
EnumFormat(T[], String[]) - Constructor for class net.sf.japaki.text.EnumFormat
Constructs a new EnumFormat.
eof() - Method in class net.sf.japaki.text.ParseReader
Checks if the input stream is at its end.
eof() - Method in class net.sf.japaki.text.ReaderWithPosition
 
eol() - Method in class net.sf.japaki.text.ReaderWithPosition
Checks if the current line is at its end.
equals(Object) - Method in class net.sf.japaki.basic.Duration
 
equals(Object) - Method in class net.sf.japaki.beans.AbstractGenericBean
 
equals(Object) - Method in class net.sf.japaki.beans.KeyValuePair
 
equals(Object) - Method in class net.sf.japaki.beans.MapItemBean
 
equals(Object) - Method in class net.sf.japaki.beans.SimpleBean
 

F

Factory<T> - Interface in net.sf.japaki.basic
Standard factory interface
fillStore() - Method in class net.sf.japaki.self.SyntaxParser
Adds the parser definitions of the syntax parser to the store.
findChild(String) - Method in class net.sf.japaki.self.Inspector
Creates a new inspector for a property of the underlying class with the specified name.
findFactory(Class<T>) - Method in class net.sf.japaki.kit.ParserStore
Creates a factory for the specified type.
findParser(ParserMold<T>, Property<B, V>, ParserMold.Parameter) - Method in class net.sf.japaki.kit.ParserStore
Creates a parser using the specified parameters.
findParser(String, Property<B, V>, ParserMold.Parameter, String, Parser<Object>) - Method in class net.sf.japaki.kit.ParserStore
Creates a parser using the specified parameters.
findParser(String, Property<B, V>, ParserMold.Parameter) - Method in class net.sf.japaki.kit.ParserStore
Creates a parser using the specified parameters.
findParser(Property<B, V>) - Method in class net.sf.japaki.kit.ParserStore
Creates a parser using the specified parameters.
findProperty(String) - Method in class net.sf.japaki.self.GenericBeanInspector
 
findProperty(String) - Method in class net.sf.japaki.self.Inspector
Searches a property in the base class of this inspector with the specified name.
findProperty(String) - Method in class net.sf.japaki.self.JavaBeanInspector
 
findProperty(String) - Method in class net.sf.japaki.self.KeyValueBeanInspector
 
findProperty(String) - Method in class net.sf.japaki.self.LeafInspector
Does nothing.
findProperty(String) - Method in class net.sf.japaki.self.SinglePropertyBeanInspector
Returns the property of single property beans.
FixedFormatMold<V> - Class in net.sf.japaki.kit
Parser mold based on a constant format.
FixedFormatMold(Class<V>, Format) - Constructor for class net.sf.japaki.kit.FixedFormatMold
Constructs a new fixed format mold.
FixedParserBean - Class in net.sf.japaki.self
Parser bean for constant parsers like line feeds.
FixedParserBean() - Constructor for class net.sf.japaki.self.FixedParserBean
 
FixedParserMold<V> - Class in net.sf.japaki.kit
Simple mold that returns always the same parser.
FixedParserMold(Class<V>, Parser<? super V>, Factory<? extends V>) - Constructor for class net.sf.japaki.kit.FixedParserMold
Creates a new fixed parser mold.
FixedTargetTransformer<T> - Class in net.sf.japaki.basic
A transformer that always returns a constant value.
FixedTargetTransformer(T) - Constructor for class net.sf.japaki.basic.FixedTargetTransformer
Creates a new transformer with the given target value.
flush() - Method in class net.sf.japaki.text.WriterWithPosition
 
format(Object, StringBuffer, FieldPosition) - Method in class net.sf.japaki.text.AbstractFormat
Appends the Object.toString() representation of the object to the buffer.
format(Object, StringBuffer, FieldPosition) - Method in class net.sf.japaki.text.ClassFormat
Appends the the canonical name of the given class to the string buffer.
format(Object, StringBuffer, FieldPosition) - Method in class net.sf.japaki.text.DurationFormat
 
format(Object, StringBuffer, FieldPosition) - Method in class net.sf.japaki.text.EnumFormat
 
FormatException - Exception in net.sf.japaki.text
Indicates an exception while formatting an object with a parser.
FormatException(Collection<Parser>) - Constructor for exception net.sf.japaki.text.FormatException
Constructs a format exception with the specified details.
FormatException(String, Collection<Parser>) - Constructor for exception net.sf.japaki.text.FormatException
Constructs a format exception with the specified details.
FormatException(Throwable, Collection<Parser>) - Constructor for exception net.sf.japaki.text.FormatException
Constructs a format exception with the specified details.
FormatException(String, Throwable, Collection<Parser>) - Constructor for exception net.sf.japaki.text.FormatException
Constructs a format exception with the specified details.
free(int) - Method in interface net.sf.japaki.io.ReaderBuffer
Frees the buffer before the specified position.
free(int) - Method in class net.sf.japaki.io.RingBuffer
 
fromBundle(Class<T>, ResourceBundle) - Static method in class net.sf.japaki.text.EnumFormat
Constructs an enum format from an enum type and a resource bundle.
fromPattern(String) - Static method in class net.sf.japaki.kit.ParserStore
Creates parser mold parameters from the given pattern.

G

GenericBean<B extends GenericBean<B>> - Interface in net.sf.japaki.beans
A generic bean provides a list of all its properties and hence allows generic implementations of methods that act on all properties.
GenericBeanInspector<B,V extends GenericBean<V>> - Class in net.sf.japaki.self
Retrieves a property from the underlying bean by name.
GenericBeanInspector(Property<B, V>, InspectorMill) - Constructor for class net.sf.japaki.self.GenericBeanInspector
Constructs an inspector from the given arguments.
getBase() - Method in class net.sf.japaki.self.OptionalParserBean
Returns base parser bean.
getBaseClass() - Method in class net.sf.japaki.self.PhraseBean
Returns the targetType of the created parser.
getBean() - Method in class net.sf.japaki.self.PhraseBean
Returns the pattern for the new parser.
getBeans() - Method in class net.sf.japaki.self.BeanParserBean
Returns property parsers.
getBeans() - Method in class net.sf.japaki.self.ChoiceParserBean
Returns the option parser beans.
getCauses() - Method in exception net.sf.japaki.basic.MultiCauseException
Returns the causes of this exception.
getDelimiter() - Method in class net.sf.japaki.self.BeanParserBean
Returns the current value of the delimiter field.
getDelimiter() - Method in class net.sf.japaki.self.LeafParserBean
Returns the current value of the delimiter field.
getErrorLine() - Method in exception net.sf.japaki.text.ParsingException
Returns the number of the line where the error was found.
getErrorMessage(Property, String) - Method in class net.sf.japaki.kit.LeafParserMold
Returns the error message of the parser to be created.
getExceptionLog() - Method in class net.sf.japaki.text.ReaderWithPosition
Returns a list of all exceptions that have occured while parsing.
getFactory() - Method in class net.sf.japaki.kit.SuperParserMold
Returns the factory used to create new collections.
getField() - Method in class net.sf.japaki.text.AbstractFormat
Returns the field used by this format.
getField() - Method in class net.sf.japaki.text.EnumFormat
Returns the field used by this format.
getFormat(String) - Method in class net.sf.japaki.kit.DateParserMold
 
getFormat(String) - Method in class net.sf.japaki.kit.DecimalParserMold
 
getFormat(String) - Method in class net.sf.japaki.kit.DurationParserMold
 
getFormat(String) - Method in class net.sf.japaki.kit.FixedFormatMold
Not implemented.
getFormat() - Method in class net.sf.japaki.kit.LeafParserMold
Returns the format used, if no pattern is specified.
getFormat(String) - Method in class net.sf.japaki.kit.LeafParserMold
Returns the format of the parser to be created.
getFormat(String) - Method in class net.sf.japaki.kit.MessageParserMold
 
getFormat(String) - Method in class net.sf.japaki.kit.RegexParserMold
Creates a new regex format with the specified delimiter and the underlying regular expression.
getInspector(Class<V>) - Method in class net.sf.japaki.self.InspectorMill
Creates a new inspector for the given class.
getInspector(Property<B, V>) - Method in class net.sf.japaki.self.InspectorMill
Creates a new inspector for the given property.
getInstance(Class<T>) - Static method in class net.sf.japaki.basic.NumberTransformer
Returns a transformer, that transforms instances of the specified class to a number.
getInstance() - Static method in class net.sf.japaki.kit.DateParserMold
Returns an instance of this class for the default locale.
getInstance() - Static method in class net.sf.japaki.kit.DecimalParserMold
Returns an instance of this class for the default locale.
getInstance() - Static method in class net.sf.japaki.kit.DurationParserMold
Returns an instance of this class for the default locale.
getInstance() - Static method in class net.sf.japaki.kit.MessageParserMold
Returns an instance of this class for the default locale.
getInstance() - Static method in class net.sf.japaki.kit.MultiLineParserMold
Returns the default instance of this class.
getInstance() - Static method in class net.sf.japaki.kit.ParserStore
Returns a default instance.
getInstance() - Static method in class net.sf.japaki.kit.RegexParserMold
Returns the default instance of this class.
getInstance() - Static method in class net.sf.japaki.text.ClassFormat
Returns the singleton instance of this class.
getInstance() - Static method in class net.sf.japaki.text.LineFeed
Returns the singleton instance of this class.
getInstanceFor(String) - Static method in class net.sf.japaki.text.EnumFormat
Creates a format that recognizes only a single string and parses it as EnumFormat.DUMMY.
getKey() - Method in class net.sf.japaki.beans.KeyValuePair
 
getKey() - Method in class net.sf.japaki.beans.MapItemBean
 
getKeyProperty() - Static method in class net.sf.japaki.beans.KeyValuePair
Returns the property to the key of this bean.
getLogger() - Method in class net.sf.japaki.kit.ParserStore
 
getLogger() - Method in class net.sf.japaki.text.AbstractParser
 
getMill() - Method in class net.sf.japaki.self.Inspector
Returns the mill that is used to create new inspectors.
getName(Property) - Method in class net.sf.japaki.kit.LeafParserMold
Returns the name of the parser to be created.
getName() - Method in class net.sf.japaki.self.BeanParserBean
Returns name of the parser to be created.
getParser(Property<B, V>, ParserMold.Parameter) - Method in class net.sf.japaki.kit.FixedParserMold
Creates a parser for the specified property and pattern
getParser(Property<B, V>, ParserMold.Parameter) - Method in class net.sf.japaki.kit.LeafParserMold
 
getParser(Property<B, String>, ParserMold.Parameter) - Method in class net.sf.japaki.kit.MultiLineParserMold
Creates a parser for a multline string field.
getParser(Property<B, V>, ParserMold.Parameter) - Method in interface net.sf.japaki.kit.ParserMold
Creates a parser for the specified property and pattern.
getParser() - Method in class net.sf.japaki.self.FixedParserBean
Returns the current value of the parser field.
getParserName() - Method in class net.sf.japaki.self.LeafParserBean
Returns the current value of the parserName field.
getParserStore() - Method in class net.sf.japaki.self.Inspector
Returns the parser store used to create new parsers.
getParserStore() - Method in class net.sf.japaki.self.ParserBench
Returns the underlying parser store.
getParserStore() - Method in class net.sf.japaki.self.SyntaxParser
Returns the underlying parser store.
getPath() - Method in exception net.sf.japaki.text.FormatException
Returns the path to the field where the format exception occurred.
getPath() - Method in exception net.sf.japaki.text.ParsingException
Returns the path to the field where the parsing exception occurred.
getPath() - Method in interface net.sf.japaki.text.PathTracker
Returns the path of parsers in the parser network.
getPath() - Method in class net.sf.japaki.text.ReaderWithPosition
 
getPath() - Method in class net.sf.japaki.text.WriterWithPosition
 
getPattern() - Method in class net.sf.japaki.kit.ParserMold.Parameter
Returns the pattern string for format based parsers.
getPattern() - Method in class net.sf.japaki.self.LeafParserBean
Returns the current value of the pattern field.
getPhraseName() - Method in class net.sf.japaki.self.PhraseBean
Returns the key where the parser is stored.
getPosition() - Method in class net.sf.japaki.io.SlicedReader
Returns the current position.
getPosition() - Method in class net.sf.japaki.text.ParseReader
Returns the current parse position.
getPosition() - Method in class net.sf.japaki.text.ReaderWithPosition
 
getProperties() - Method in class net.sf.japaki.beans.AbstractGenericBean
 
getProperties() - Method in interface net.sf.japaki.beans.GenericBean
Return a list of all properties of this bean.
getProperties() - Method in class net.sf.japaki.self.BeanParserBean
 
getProperties() - Method in class net.sf.japaki.self.ChoiceParserBean
 
getProperties() - Method in class net.sf.japaki.self.ConstantParserBean
 
getProperties() - Method in class net.sf.japaki.self.FixedParserBean
 
getProperties() - Method in class net.sf.japaki.self.LeafParserBean
 
getProperties() - Method in class net.sf.japaki.self.OptionalParserBean
 
getProperties() - Method in class net.sf.japaki.self.PhraseBean
 
getProperty() - Static method in class net.sf.japaki.beans.SimpleBean
Returns the property of this bean.
getProperty() - Method in class net.sf.japaki.kit.SuperParserMold
Returns the property to create the sub parser
getProperty() - Method in class net.sf.japaki.self.Inspector
Returns the property used to create new parsers.
getPropertyName() - Method in class net.sf.japaki.self.LeafParserBean
Returns the current value of the propertyName field.
getSize() - Method in class net.sf.japaki.kit.ParserMold.Parameter
Returns the size parameter.
getSize() - Method in class net.sf.japaki.self.LeafParserBean
Returns the current value of the size field.
getSource() - Method in class net.sf.japaki.text.ParseReader
Returns the current line of the input stream.
getSource() - Method in exception net.sf.japaki.text.ParsingException
Returns the line where the error was found.
getSource() - Method in class net.sf.japaki.text.ReaderWithPosition
 
getSubParserName() - Method in class net.sf.japaki.self.LeafParserBean
Returns the current value of the subParserName field.
getSyntaxParser() - Static method in class net.sf.japaki.self.SyntaxParser
Returns the main parser
getTargetType() - Method in class net.sf.japaki.kit.FixedParserMold
 
getTargetType() - Method in class net.sf.japaki.kit.LeafParserMold
 
getTargetType() - Method in class net.sf.japaki.kit.MultiLineParserMold
 
getTargetType() - Method in interface net.sf.japaki.kit.ParserMold
Returns the target type of the parsers created by this mold.
getTargetType() - Method in class net.sf.japaki.kit.SuperParserMold
Returns the target type of the parsers created by this mold.
getTimeInMillis() - Method in class net.sf.japaki.basic.Duration
Returns this duration's value in milliseconds.
getType() - Method in class net.sf.japaki.beans.AbstractGenericBean.GenericProperty
 
getType() - Method in class net.sf.japaki.beans.ArrayProperty
Returns Object[].
getType() - Method in class net.sf.japaki.beans.ConstantProperty
Returns the class of the stored value.
getType() - Method in interface net.sf.japaki.beans.Property
Returns the type of this property, that is the return type of the getValue method.
getType() - Method in class net.sf.japaki.beans.ReflectionProperty
Returns the parameter type of this property.
getType() - Method in class net.sf.japaki.beans.SelfProperty
Returns the stored type.
getType() - Method in class net.sf.japaki.beans.TransformProperty
Returns null.
getType() - Method in class net.sf.japaki.self.Inspector
Returns the class in which properties are searched.
getValue(B) - Method in class net.sf.japaki.beans.AbstractGenericBean.GenericProperty
 
getValue(Property) - Method in class net.sf.japaki.beans.AbstractGenericBean
Implementation of the getValue method of all properties of this bean.
getValue(B) - Method in class net.sf.japaki.beans.ArrayProperty
Retrieves the value of each property in the specified bean and stores them in an array.
getValue(Object) - Method in class net.sf.japaki.beans.ConstantProperty
Returns the stored value.
getValue() - Method in class net.sf.japaki.beans.KeyValuePair
 
getValue() - Method in class net.sf.japaki.beans.MapItemBean
Retrieves the value at the predefined key from the underlying map.
getValue(B) - Method in interface net.sf.japaki.beans.Property
Retrieves the value of this property from the specified bean.
getValue(B) - Method in class net.sf.japaki.beans.ReflectionProperty
 
getValue(B) - Method in class net.sf.japaki.beans.SelfProperty
Returns the bean itself.
getValue() - Method in class net.sf.japaki.beans.SimpleBean
Returns the value of the (single) property of this bean.
getValue() - Method in interface net.sf.japaki.beans.SinglePropertyBean
Returns the value of the (single) property of this bean.
getValue(B) - Method in class net.sf.japaki.beans.TransformProperty
Retrieves the value of this property from the specified bean and transforms it with the underlying transformer.
getValue(Property) - Method in class net.sf.japaki.self.BeanParserBean
 
getValue(Property) - Method in class net.sf.japaki.self.ChoiceParserBean
 
getValue() - Method in class net.sf.japaki.self.ConstantParserBean
Returns the current value of the value field.
getValue(Property) - Method in class net.sf.japaki.self.ConstantParserBean
 
getValue(Property) - Method in class net.sf.japaki.self.FixedParserBean
 
getValue(Property) - Method in class net.sf.japaki.self.LeafParserBean
 
getValue(Property) - Method in class net.sf.japaki.self.OptionalParserBean
 
getValue(Property) - Method in class net.sf.japaki.self.PhraseBean
 
getValueProperty() - Static method in class net.sf.japaki.beans.KeyValuePair
Returns the property to the value of this bean.
getWriter() - Method in class net.sf.japaki.text.WriterWithPosition
Returns the underlying writer.

H

handleException(Exception) - Static method in class net.sf.japaki.self.ParserBench
Performs the default way to handle exceptions that occur during parsing or formatting.
handleException(RuntimeException, Property<B, V>, B, V) - Static method in class net.sf.japaki.text.AbstractParser
Handles exceptions that are thrown during a setValue operation.
hashCode() - Method in class net.sf.japaki.basic.Duration
 
hashCode() - Method in class net.sf.japaki.beans.AbstractGenericBean.GenericProperty
 
hashCode() - Method in class net.sf.japaki.beans.AbstractGenericBean
 
hashCode() - Method in class net.sf.japaki.beans.KeyValuePair
 
hashCode() - Method in class net.sf.japaki.beans.MapItemBean
 
hashCode() - Method in class net.sf.japaki.beans.SimpleBean
 

I

Inspector<B,V> - Class in net.sf.japaki.self
Retrieves a property from the underlying bean by name.
Inspector(Property<B, V>, InspectorMill) - Constructor for class net.sf.japaki.self.Inspector
Constructs an inspector from the given arguments.
InspectorMill - Class in net.sf.japaki.self
Defines what inspector is used for a given class.
InspectorMill(ParserStore) - Constructor for class net.sf.japaki.self.InspectorMill
Creates a new inspector mill.
InspectorMill() - Constructor for class net.sf.japaki.self.InspectorMill
 
inverse() - Method in class net.sf.japaki.basic.Duration
 
inverse() - Method in interface net.sf.japaki.basic.Quasigroup
Returns the inverse of this object.
isRetrievable(T) - Method in class net.sf.japaki.basic.FixedTargetTransformer
Returns false.
isRetrievable(Number) - Method in class net.sf.japaki.basic.NumberTransformer
Indicates if the input value can be converted to type T.
isRetrievable(T) - Method in interface net.sf.japaki.basic.TwoWayTransformer
Indicates if the origin of the specified object can be calculated.
isRetrievable(Property<B, T>) - Method in class net.sf.japaki.beans.ValuePropertyTransformer
Returns false.
isRetrievable(List<String>) - Method in class net.sf.japaki.text.MultiLineTransformer
 

J

JavaBeanInspector<B,V> - Class in net.sf.japaki.self
Retrieves a property from a standard java bean.
JavaBeanInspector(Property<B, V>, InspectorMill) - Constructor for class net.sf.japaki.self.JavaBeanInspector
Constructs an inspector from the given arguments.

K

keyProperty() - Static method in class net.sf.japaki.beans.Properties
Returns the property for the key of a KeyValueBean.
KeyValueBean<K,V> - Interface in net.sf.japaki.beans
A bean with two properties: key and value.
KeyValueBeanInspector<B,V extends KeyValueBean<K,W>,K,W> - Class in net.sf.japaki.self
Retrieves a property from the underlying bean by name.
KeyValueBeanInspector(Property<B, V>, InspectorMill) - Constructor for class net.sf.japaki.self.KeyValueBeanInspector
Constructs an inspector from the given arguments.
KeyValuePair<K,V> - Class in net.sf.japaki.beans
A bean with two properties.
KeyValuePair() - Constructor for class net.sf.japaki.beans.KeyValuePair
 

L

LeafInspector<B,V> - Class in net.sf.japaki.self
Inspector for leaf elements.
LeafInspector(Property<B, V>, InspectorMill) - Constructor for class net.sf.japaki.self.LeafInspector
Constructs an inspector from the given arguments.
LeafParser<B> - Class in net.sf.japaki.text
A parser based on a Format.
LeafParser(Format, Property<B, ?>, String, String) - Constructor for class net.sf.japaki.text.LeafParser
Creates a new leaf parser from the specified parameters.
LeafParserBean - Class in net.sf.japaki.self
Parser bean for leaf parsers.
LeafParserBean() - Constructor for class net.sf.japaki.self.LeafParserBean
 
LeafParserMold<V> - Class in net.sf.japaki.kit
Skeleton class for molds that create leaf parsers.
LeafParserMold(Class<V>, Format) - Constructor for class net.sf.japaki.kit.LeafParserMold
Creates a new LeafParser mold.
LineFeed - Class in net.sf.japaki.text
Inserts a line break.
loadSyntax(String) - Method in class net.sf.japaki.self.ParserBench
Loads parsers definitions from a file and stores them in the underlying parser store.
loadSyntaxFromResource(String) - Method in class net.sf.japaki.self.ParserBench
Loads parsers definitions from a file in the classpath and stores them in the underlying parser store.

M

MapItemBean<K,V> - Class in net.sf.japaki.beans
A bean with a single property that is stored in an underlying map at a fixed key.
MapItemBean(Map<K, V>, K) - Constructor for class net.sf.japaki.beans.MapItemBean
Constructs a new MapItemBean.
MapParser<K,V> - Class in net.sf.japaki.text
Parses a map, where the key of each field is given in the input stream.
MapParser(Parser<? super KeyValueBean<K, V>>, Parser<? super KeyValueBean<K, V>>, Parser<?>) - Constructor for class net.sf.japaki.text.MapParser
Creates a new map parser from the specified parameters.
MapParserMold<T extends Map<K,V>,K,V> - Class in net.sf.japaki.kit
Parser mold for maps.
MapParserMold(Class<T>, Factory<? extends T>) - Constructor for class net.sf.japaki.kit.MapParserMold
Constructs a map parser mold from the given arguments.
mapValueProperty() - Static method in class net.sf.japaki.beans.Properties
Returns the property for the value of a Map.Entry.
mark(int) - Method in class net.sf.japaki.io.ReaderProxy
 
markSupported() - Method in class net.sf.japaki.io.ReaderProxy
 
MessageParserMold - Class in net.sf.japaki.kit
Parser mold based on a MessageFormat.
MessageParserMold(Locale) - Constructor for class net.sf.japaki.kit.MessageParserMold
Creates a new message parser mold.
MessageParserMold() - Constructor for class net.sf.japaki.kit.MessageParserMold
Creates a new message parser mold for the default locale.
MultiCauseException - Exception in net.sf.japaki.basic
An exception with more than one cause.
MultiCauseException() - Constructor for exception net.sf.japaki.basic.MultiCauseException
Constructs a new exception without detail message.
MultiCauseException(String) - Constructor for exception net.sf.japaki.basic.MultiCauseException
Constructs a new exception with the specified detail message.
MultiCauseException(String, List<Throwable>) - Constructor for exception net.sf.japaki.basic.MultiCauseException
Constructs a new exception with the specified detail message and causes.
MultiLineParserMold - Class in net.sf.japaki.kit
Parser mold based on a MultiLineTransformer.
MultiLineParserMold(String, int) - Constructor for class net.sf.japaki.kit.MultiLineParserMold
Creates a new multi line parser mold with the given parameters.
MultiLineParserMold() - Constructor for class net.sf.japaki.kit.MultiLineParserMold
Creates a new multi line parser mold.
MultiLineTransformer - Class in net.sf.japaki.text
Transforms a single line into multiple lines of a defined maximum size.
MultiLineTransformer(int) - Constructor for class net.sf.japaki.text.MultiLineTransformer
Creates a new multiline transformer.

N

nameP - Static variable in class net.sf.japaki.self.BeanParserBean
Property of the name field
net.sf.japaki.basic - package net.sf.japaki.basic
This package contains common utility classes.
net.sf.japaki.beans - package net.sf.japaki.beans
This package contains a special bean framework based on properties and general beans.
net.sf.japaki.io - package net.sf.japaki.io
This package contains some classes to facilitate input/output operations.
net.sf.japaki.kit - package net.sf.japaki.kit
This package contains classes to create and retrieve parsers.
net.sf.japaki.self - package net.sf.japaki.self
This package enables text definitions of parsers.
net.sf.japaki.text - package net.sf.japaki.text
This package contains formats and parsers.
newConstantParser(String) - Static method in class net.sf.japaki.text.LeafParser
Creates a parser that always returns a predefined value.
newDefaultInstance() - Static method in class net.sf.japaki.kit.ParserStore
Creates a new parser store and fills it with default settings.
newInstance(Class<T>) - Static method in class net.sf.japaki.basic.DefaultFactory
Creates a new factory for the given type.
newInstance(T) - Static method in class net.sf.japaki.basic.FixedTargetTransformer
Creates a new transformer with the given target value.
newInstance(String, int, Class<? super V>) - Static method in class net.sf.japaki.beans.AbstractGenericBean.GenericProperty
Constructs a new generic property.
newInstance(List<Property<? super B, ?>>) - Static method in class net.sf.japaki.beans.ArrayProperty
Factory method for instances of this class.
newInstance(V) - Static method in class net.sf.japaki.beans.ConstantProperty
Constructs a constant property using the given value.
newInstance(K, V) - Static method in class net.sf.japaki.beans.KeyValuePair
Creates a new key value pair
newInstance(Class<B>, String) - Static method in class net.sf.japaki.beans.ReflectionProperty
Creates a reflection property from a class and a property name.
newInstance(Class<V>) - Static method in class net.sf.japaki.beans.SelfProperty
Creates a new self property.
newInstance(V) - Static method in class net.sf.japaki.beans.SimpleBean
Creates a new simple bean
newInstance(Property<B, S>, TwoWayTransformer<S, V>) - Static method in class net.sf.japaki.beans.TransformProperty
Constructs a new transform property.
newInstance(Class<V>) - Static method in class net.sf.japaki.kit.CollectionParserMold
Constructs a collection parser mold from the given arguments.
newInstance(Class<V>) - Static method in class net.sf.japaki.kit.MapParserMold
Constructs a map parser mold from the given arguments.
newInstance(Pattern, Pattern) - Static method in class net.sf.japaki.text.RegexFormat
Constructs a new RegexFormat.
newInstance(String, String) - Static method in class net.sf.japaki.text.RegexFormat
Constructs a new RegexFormat.
newLine() - Method in class net.sf.japaki.text.ParseReader
Forwards to the next line in the input stream.
newLine() - Method in class net.sf.japaki.text.ParseWriter
Inserts a line break in the output stream.
newLine() - Method in class net.sf.japaki.text.ReaderWithPosition
 
newLine() - Method in class net.sf.japaki.text.WriterWithPosition
 
newMessageParser(List<Property<? super B, ?>>, String, String) - Static method in class net.sf.japaki.text.LeafParser
Creates a parser based on a MessageFormat.
newMultiLineParser(Format, Property<B, String>, String, int) - Static method in class net.sf.japaki.text.MultiLineTransformer
Creates a parser for a multline string field.
newParser(List<Parser<? super B>>, String) - Static method in class net.sf.japaki.text.BeanParser
Creates a new bean parser based on the specified parsers.
newParser(List<Parser<? super B>>, String, Parser<? super B>) - Static method in class net.sf.japaki.text.BeanParser
Creates a new bean parser based on the specified parsers.
newParser(List<Parser<? super T>>) - Static method in class net.sf.japaki.text.ChoiceParser
Creates a new choice parser based on the specified parsers.
newParser(Parser<SinglePropertyBean<E>>, Parser<Object>) - Static method in class net.sf.japaki.text.CollectionParser
Creates a new collection parser based on the specified parser.
newParser(Parser<? super E>, Factory<? extends E>, Parser<Object>) - Static method in class net.sf.japaki.text.CollectionParser
Creates a new collection parser based on the specified parser.
newParser(Parser<? super E>, Factory<? extends E>, String) - Static method in class net.sf.japaki.text.CollectionParser
Creates a new collection parser based on the specified parser.
newParser(Format, Property<B, ?>, String, String) - Static method in class net.sf.japaki.text.LeafParser
Creates a new leaf parser from the specified parameters.
newParser(Parser<? super KeyValueBean<K, V>>, Parser<? super KeyValueBean<K, V>>, Parser<?>) - Static method in class net.sf.japaki.text.MapParser
Creates a new map parser from the specified parameters.
newParser(Parser<? super KeyValueBean<K, V>>, Parser<?>) - Static method in class net.sf.japaki.text.MapParser
Creates a new map parser from the specified parameters.
newParser(Parser<? super KeyValueBean<K, V>>, String) - Static method in class net.sf.japaki.text.MapParser
Creates a new map parser from the specified parameters.
newParser(Parser<T>) - Static method in class net.sf.japaki.text.OptionalParser
Creates a new optional parser based on the specified parser.
newParser(Parser<T>, Factory<? extends T>) - Static method in class net.sf.japaki.text.OptionalParser
Creates a new optional parser based on a peek parser with the specified parser.
newParser(Parser<T>) - Static method in class net.sf.japaki.text.PeekParser
Creates a new peek parser based on the specified parser.
newParser(Parser<? super V>, Property<B, V>, Factory<? extends V>) - Static method in class net.sf.japaki.text.PropertyParser
Creates a new factory parser based on the specified parameters.
newReader(Reader, int) - Static method in class net.sf.japaki.io.SlicedReader
Constructs a new sliced reader based on the given reader.
newReader(Reader) - Static method in class net.sf.japaki.io.SlicedReader
Constructs a new sliced reader based on the given reader.
newStringParser(Property<B, String>, String, String) - Static method in class net.sf.japaki.text.LeafParser
Creates a new delimiter based parser.
NoSuchPropertyException - Exception in net.sf.japaki.beans
Signals that the bean does not have a property of a specified name.
NoSuchPropertyException() - Constructor for exception net.sf.japaki.beans.NoSuchPropertyException
Constructs a NoSuchPropertyException with no detail message.
NoSuchPropertyException(String) - Constructor for exception net.sf.japaki.beans.NoSuchPropertyException
Constructs a NoSuchPropertyException with the specified detail message.
NoSuchPropertyException(String, Throwable) - Constructor for exception net.sf.japaki.beans.NoSuchPropertyException
Constructs a new exception with the specified detail message and cause.
NoSuchPropertyException(Throwable) - Constructor for exception net.sf.japaki.beans.NoSuchPropertyException
Constructs a new exception with the specified cause.
NoSuchPropertyException(String, Class) - Constructor for exception net.sf.japaki.beans.NoSuchPropertyException
Constructs a NoSuchPropertyException with the specified detail message.
NumberTransformer<T extends Number> - Class in net.sf.japaki.basic
Transforms a number to a specific type value.

O

OptionalParser<T> - Class in net.sf.japaki.text
Wrapper around a parser to make it optional.
OptionalParser(Parser<T>) - Constructor for class net.sf.japaki.text.OptionalParser
Creates a new optional parser based on the specified parser.
OptionalParserBean - Class in net.sf.japaki.self
Parser bean for optional parsers.
OptionalParserBean() - Constructor for class net.sf.japaki.self.OptionalParserBean
 
OutOfRangeException - Exception in net.sf.japaki.basic
Thrown to indicate that an argument has a value outside of the valid range.
OutOfRangeException() - Constructor for exception net.sf.japaki.basic.OutOfRangeException
Constructs a new exception without detail message.
OutOfRangeException(String) - Constructor for exception net.sf.japaki.basic.OutOfRangeException
Constructs a new exception with the specified detail message.
OutOfRangeException(String, Throwable) - Constructor for exception net.sf.japaki.basic.OutOfRangeException
Constructs a new exception with the specified detail message and cause.
OutOfRangeException(Throwable) - Constructor for exception net.sf.japaki.basic.OutOfRangeException
Constructs a new exception with the specified cause.

P

parse(String, Reader, T) - Method in class net.sf.japaki.self.ParserBench
Performs the following steps: The parser is looked up in the parser store.
parse(String, String, T) - Method in class net.sf.japaki.self.ParserBench
Performs the following steps: The parser is looked up in the parser store.
parse(ParseReader, T) - Method in class net.sf.japaki.text.AbstractParser
 
parse(ParseReader, T) - Method in interface net.sf.japaki.text.Parser
Parses text starting at the specified position.
parseIt(ParseReader, T) - Method in class net.sf.japaki.text.AbstractParser
Parses text starting at the specified position.
parseIt(ParseReader, B) - Method in class net.sf.japaki.text.BeanParser
Uses the underlying parsers to parse the input stream and stores the values in the target bean.
parseIt(ParseReader, T) - Method in class net.sf.japaki.text.ChoiceParser
Tries to parse the input text with one of the base parsers.
parseIt(ParseReader, Collection<E>) - Method in class net.sf.japaki.text.CollectionParser
 
parseIt(ParseReader, B) - Method in class net.sf.japaki.text.LeafParser
 
parseIt(ParseReader, Object) - Method in class net.sf.japaki.text.LineFeed
 
parseIt(ParseReader, Map<K, V>) - Method in class net.sf.japaki.text.MapParser
 
parseIt(ParseReader, T) - Method in class net.sf.japaki.text.OptionalParser
Tries to parse the input text with the base parser.
parseIt(ParseReader, T) - Method in class net.sf.japaki.text.PeekParser
Parse the input text with the base parser.
parseIt(ParseReader, B) - Method in class net.sf.japaki.text.PropertyParser
Parses the next item from the input stream and stores the value in the corresponding property of the target bean.
parseObject(String, ParsePosition) - Method in class net.sf.japaki.text.ClassFormat
Parses the sourcestring to the first non-java letter and tries to find the class for the parsed name.
parseObject(String, ParsePosition) - Method in class net.sf.japaki.text.DurationFormat
 
parseObject(String, ParsePosition) - Method in class net.sf.japaki.text.EnumFormat
 
parseObject(String, ParsePosition) - Method in class net.sf.japaki.text.RegexFormat
Takes the head of the sourcestring up to the first occurence of the delimiter and tries to match it to the regular expression.
Parser<T> - Interface in net.sf.japaki.text
A parser transforms an object into a string and vice versa.
ParserBean - Interface in net.sf.japaki.self
Bean to store parser parameters before creating it.
ParserBench - Class in net.sf.japaki.self
This is the standard entry point to the japaki library.
ParserBench() - Constructor for class net.sf.japaki.self.ParserBench
 
ParseReader - Class in net.sf.japaki.text
A ParseReader is used for parsing an input stream.
ParseReader() - Constructor for class net.sf.japaki.text.ParseReader
 
ParserMold<V> - Interface in net.sf.japaki.kit
Bean to store parser properties before creating the parser.
ParserMold.Parameter - Class in net.sf.japaki.kit
Parameters given to a mold to specify the characteristics of a parser or its underlying format.
ParserMold.Parameter() - Constructor for class net.sf.japaki.kit.ParserMold.Parameter
 
parserNameP - Static variable in class net.sf.japaki.self.LeafParserBean
Property of the parserName field
parserP - Static variable in class net.sf.japaki.self.FixedParserBean
Property of the parser field
ParserStore - Class in net.sf.japaki.kit
Tries to find parsers for given parameters.
ParserStore() - Constructor for class net.sf.japaki.kit.ParserStore
 
ParseWriter - Class in net.sf.japaki.text
Output stream for parsing operations.
ParseWriter() - Constructor for class net.sf.japaki.text.ParseWriter
 
ParsingException - Exception in net.sf.japaki.text
An exception that stores the path to the field where the parsing exception occurred.
ParsingException(String, int, int, String, Collection<Parser>) - Constructor for exception net.sf.japaki.text.ParsingException
Constructs a parsing exception with the specified details.
PathTracker - Interface in net.sf.japaki.text
Interface to mark classes that provide a parser path.
patternP - Static variable in class net.sf.japaki.self.LeafParserBean
Property of the pattern field
PeekParser<T> - Class in net.sf.japaki.text
Parses a string without changing the start index.
PeekParser(Parser<T>) - Constructor for class net.sf.japaki.text.PeekParser
Creates a new peek parser based on the specified parser.
PhraseBean - Class in net.sf.japaki.self
Parser bean for bean parsers.
PhraseBean() - Constructor for class net.sf.japaki.self.PhraseBean
 
phraseNameP - Static variable in class net.sf.japaki.self.PhraseBean
Property of the phraseName field
printDetails(PrintStream) - Method in exception net.sf.japaki.text.ParsingException
Performs the default way to display a parsing exception.
printDetails() - Method in exception net.sf.japaki.text.ParsingException
Performs the default way to display a parsing exception.
Properties - Class in net.sf.japaki.beans
Contains some standard properties.
Property<B,V> - Interface in net.sf.japaki.beans
A property contains information about how to store and retrieve a data item from another object - the bean.
propertyNameP - Static variable in class net.sf.japaki.self.LeafParserBean
Property of the propertyName field
PropertyParser<B,V> - Class in net.sf.japaki.text
Parses a Property of a generic bean.
PropertyParser(Parser<? super V>, Property<B, V>, Factory<? extends V>) - Constructor for class net.sf.japaki.text.PropertyParser
Creates a new property parser based on the specified parameters.

Q

Quasigroup<T> - Interface in net.sf.japaki.basic
An interface representing the algebra structure "Quasigroup".

R

read(char[], int, int, int) - Method in interface net.sf.japaki.io.ReaderBuffer
Retrieves a sequence of characters as described in read.
read(CharBuffer) - Method in class net.sf.japaki.io.ReaderProxy
 
read() - Method in class net.sf.japaki.io.ReaderProxy
 
read(char[]) - Method in class net.sf.japaki.io.ReaderProxy
 
read(char[], int, int) - Method in class net.sf.japaki.io.ReaderProxy
 
read(char[], int, int, int) - Method in class net.sf.japaki.io.RingBuffer
 
read(char[], int, int) - Method in class net.sf.japaki.io.SlicedReader
 
ReaderBuffer - Interface in net.sf.japaki.io
Implements a sort of a sliding window on a reader.
ReaderProxy - Class in net.sf.japaki.io
Forwards all method calls to a base reader.
ReaderProxy(Reader) - Constructor for class net.sf.japaki.io.ReaderProxy
Creates a new reader proxy.
ReaderWithPosition - Class in net.sf.japaki.text
Default implementation of a ParseReader.
ReaderWithPosition(Reader) - Constructor for class net.sf.japaki.text.ReaderWithPosition
Creates a new instance of this class from a reader.
ReaderWithPosition(String) - Constructor for class net.sf.japaki.text.ReaderWithPosition
Creates a new instance of this class from a file.
ready() - Method in class net.sf.japaki.io.ReaderProxy
 
ReflectionProperty<B,V> - Class in net.sf.japaki.beans
Property based on methods.
ReflectionProperty(Method, Method, String) - Constructor for class net.sf.japaki.beans.ReflectionProperty
Constructs a new reflection property.
RegexFormat - Class in net.sf.japaki.text
A string format combined with a filter.
RegexFormat(String) - Constructor for class net.sf.japaki.text.RegexFormat
Constructs a new RegexFormat.
RegexParserMold - Class in net.sf.japaki.kit
Parser mold based on a RegexFormat.
RegexParserMold(String, String) - Constructor for class net.sf.japaki.kit.RegexParserMold
Creates a new regex parser mold.
RegexParserMold() - Constructor for class net.sf.japaki.kit.RegexParserMold
Creates a new regex parser mold.
reset() - Method in class net.sf.japaki.io.ReaderProxy
 
RestorableIO<T> - Interface in net.sf.japaki.io
This interface marks classes that contain methods to create a "backup instance" and to restore later from that instance.
retransform(T) - Method in class net.sf.japaki.basic.FixedTargetTransformer
Not implemented.
retransform(T) - Method in interface net.sf.japaki.basic.TwoWayTransformer
Calculates the transformation origin of the specified object (optional operation).
retransform(Property<B, T>) - Method in class net.sf.japaki.beans.ValuePropertyTransformer
Not implemented.
retransform(List<String>) - Method in class net.sf.japaki.text.MultiLineTransformer
Concatenates the strings from the list into a single string.
RingBuffer - Class in net.sf.japaki.io
A ring buffer stores the characters read from the input stream in a buffer.
RingBuffer(Reader, int) - Constructor for class net.sf.japaki.io.RingBuffer
Constructs a new RingBuffer.
RingBuffer(Reader) - Constructor for class net.sf.japaki.io.RingBuffer
Constructs a new RingBuffer with a default buffer size.

S

selfProperty() - Static method in class net.sf.japaki.beans.Properties
Returns the property that returns the given bean as the value.
SelfProperty<V,B extends V> - Class in net.sf.japaki.beans
The property that returns the given bean as the value.
SelfProperty(Class<V>) - Constructor for class net.sf.japaki.beans.SelfProperty
Creates a new self property.
setBase(ParserBean) - Method in class net.sf.japaki.self.OptionalParserBean
Changes the value of the base field.
setBaseClass(Class) - Method in class net.sf.japaki.self.PhraseBean
Changes the value of the baseClass field.
setBean(BeanParserBean) - Method in class net.sf.japaki.self.PhraseBean
Changes the value of the bean field.
setDelimiter(ParserBean) - Method in class net.sf.japaki.self.BeanParserBean
Changes the value of the delimiter field.
setDelimiter(BeanParserBean) - Method in class net.sf.japaki.self.LeafParserBean
Changes the value of the delimiter field.
setField(Format.Field) - Method in class net.sf.japaki.text.AbstractFormat
Sets the field used by this format.
setField(Format.Field) - Method in class net.sf.japaki.text.EnumFormat
Sets the field used by this format.
setInspectorMill(InspectorMill) - Method in class net.sf.japaki.self.ParserBench
Specifies the inspector mill to be used.
setKey(K) - Method in interface net.sf.japaki.beans.KeyValueBean
Replaces the key corresponding to this bean with the specified key.
setKey(K) - Method in class net.sf.japaki.beans.KeyValuePair
 
setKey(K) - Method in class net.sf.japaki.beans.MapItemBean
Does nothing.
setName(String) - Method in class net.sf.japaki.self.BeanParserBean
Changes the value of the name field.
setParser(Parser<Object>) - Method in class net.sf.japaki.self.FixedParserBean
Changes the value of the parser field.
setParserName(String) - Method in class net.sf.japaki.self.LeafParserBean
Changes the value of the parserName field.
setPattern(String) - Method in class net.sf.japaki.kit.ParserMold.Parameter
 
setPattern(String) - Method in class net.sf.japaki.self.LeafParserBean
Changes the value of the pattern field.
setPhraseName(String) - Method in class net.sf.japaki.self.PhraseBean
Changes the value of the phraseName field.
setPropertyName(String) - Method in class net.sf.japaki.self.LeafParserBean
Changes the value of the propertyName field.
setSize(Integer) - Method in class net.sf.japaki.kit.ParserMold.Parameter
 
setSize(Integer) - Method in class net.sf.japaki.self.LeafParserBean
Changes the value of the size field.
setSubParserName(String) - Method in class net.sf.japaki.self.LeafParserBean
Changes the value of the subParserName field.
setValue(B, V) - Method in class net.sf.japaki.beans.AbstractGenericBean.GenericProperty
 
setValue(Property, Object) - Method in class net.sf.japaki.beans.AbstractGenericBean
Implementation of the setValue method of all properties of this bean.
setValue(B, Object[]) - Method in class net.sf.japaki.beans.ArrayProperty
Stores the values of the specified array in the properties with the corresponding index in the specified bean.
setValue(Object, V) - Method in class net.sf.japaki.beans.ConstantProperty
Does nothing.
setValue(V) - Method in class net.sf.japaki.beans.KeyValuePair
 
setValue(V) - Method in class net.sf.japaki.beans.MapItemBean
Stores the value at the predefined key in the underlying map.
setValue(B, V) - Method in interface net.sf.japaki.beans.Property
Stores the value in the property specified by this object in the specified bean.
setValue(B, V) - Method in class net.sf.japaki.beans.ReflectionProperty
 
setValue(B, V) - Method in class net.sf.japaki.beans.SelfProperty
Not implemented.
setValue(V) - Method in class net.sf.japaki.beans.SimpleBean
Changes the value of the (single) property of this bean.
setValue(V) - Method in interface net.sf.japaki.beans.SinglePropertyBean
Changes the value of the (single) property of this bean.
setValue(B, V) - Method in class net.sf.japaki.beans.TransformProperty
Retransforms the specified value with the underlying transformer and stores it in the specified bean.
setValue(Property, Object) - Method in class net.sf.japaki.self.BeanParserBean
 
setValue(Property, Object) - Method in class net.sf.japaki.self.ChoiceParserBean
 
setValue(String) - Method in class net.sf.japaki.self.ConstantParserBean
Changes the value of the value field.
setValue(Property, Object) - Method in class net.sf.japaki.self.ConstantParserBean
 
setValue(Property, Object) - Method in class net.sf.japaki.self.FixedParserBean
 
setValue(Property, Object) - Method in class net.sf.japaki.self.LeafParserBean
 
setValue(Property, Object) - Method in class net.sf.japaki.self.OptionalParserBean
 
setValue(Property, Object) - Method in class net.sf.japaki.self.PhraseBean
 
SimpleBean<V> - Class in net.sf.japaki.beans
A bean with a single property.
SimpleBean() - Constructor for class net.sf.japaki.beans.SimpleBean
 
singleProperty() - Static method in class net.sf.japaki.beans.Properties
Returns the property of a SinglePropertyBean.
SinglePropertyBean<V> - Interface in net.sf.japaki.beans
A bean with a single property.
SinglePropertyBeanInspector<B,V extends SinglePropertyBean<T>,T> - Class in net.sf.japaki.self
An inspector for single property bean.
SinglePropertyBeanInspector(Property<B, V>, InspectorMill) - Constructor for class net.sf.japaki.self.SinglePropertyBeanInspector
Constructs an inspector from the given arguments.
sizeP - Static variable in class net.sf.japaki.self.LeafParserBean
Property of the size field
skip(long) - Method in class net.sf.japaki.io.ReaderProxy
 
slice() - Method in class net.sf.japaki.io.SlicedReader
Creates a slice of this reader.
SlicedReader - Class in net.sf.japaki.io
A sliced reader is a reader that can be "sliced".
SlicedReader(ReaderBuffer) - Constructor for class net.sf.japaki.io.SlicedReader
Constructs a new sliced reader based on the given reader.
subParserNameP - Static variable in class net.sf.japaki.self.LeafParserBean
Property of the subParserName field
SuperParserMold<T,B,V> - Class in net.sf.japaki.kit
Parser mold for parsers that have subparses.
SuperParserMold(Class<T>, Property<B, V>, Factory<? extends T>) - Constructor for class net.sf.japaki.kit.SuperParserMold
Constructs a generic parser mold from the given arguments.
SyntaxParser - Class in net.sf.japaki.self
Provides a parser for syntax definitions.
SyntaxParser() - Constructor for class net.sf.japaki.self.SyntaxParser
 

T

toParser(Inspector<?, T>) - Method in class net.sf.japaki.self.BeanParserBean
 
toParser(Inspector<?, T>) - Method in class net.sf.japaki.self.ChoiceParserBean
 
toParser(Inspector<?, T>) - Method in class net.sf.japaki.self.ConstantParserBean
 
toParser(Inspector<?, T>) - Method in class net.sf.japaki.self.FixedParserBean
 
toParser(Inspector<?, T>) - Method in class net.sf.japaki.self.LeafParserBean
 
toParser(Inspector<?, T>) - Method in class net.sf.japaki.self.OptionalParserBean
 
toParser(Inspector<?, T>) - Method in interface net.sf.japaki.self.ParserBean
Creates a parser from the information stored in the bean.
toString() - Method in class net.sf.japaki.basic.Duration
Returns a string representation of this duration.
toString() - Method in class net.sf.japaki.beans.AbstractGenericBean.GenericProperty
 
toString() - Method in class net.sf.japaki.beans.AbstractGenericBean
 
toString() - Method in class net.sf.japaki.beans.KeyValuePair
 
toString() - Method in class net.sf.japaki.beans.MapItemBean
 
toString() - Method in class net.sf.japaki.beans.ReflectionProperty
 
toString() - Method in class net.sf.japaki.beans.SelfProperty
 
toString() - Method in class net.sf.japaki.beans.SimpleBean
 
toString() - Method in class net.sf.japaki.io.RingBuffer
 
toString() - Method in class net.sf.japaki.self.PhraseBean
 
toString() - Method in class net.sf.japaki.text.AbstractParser
 
toString() - Method in class net.sf.japaki.text.ReaderWithPosition
 
transform(Object) - Method in class net.sf.japaki.basic.FixedTargetTransformer
Always returns the predefined target value.
transform(T) - Method in class net.sf.japaki.basic.NumberTransformer
Transforms the input value to a number.
transform(S) - Method in interface net.sf.japaki.basic.TwoWayTransformer
Transforms the input object (leaving it unchanged) into some output object.
transform(Property<B, S>) - Method in class net.sf.japaki.beans.ValuePropertyTransformer
Creates a property from the underlying transformer and the specified base property.
transform(String) - Method in class net.sf.japaki.text.MultiLineTransformer
Breaks a string into multiple lines, so that each line except the last has the predefined linesize.
TransformProperty<B,S,V> - Class in net.sf.japaki.beans
A property that transforms a value after reading it from the bean.
treeView() - Method in class net.sf.japaki.text.BeanParser
 
treeView() - Method in class net.sf.japaki.text.ChoiceParser
 
treeView() - Method in class net.sf.japaki.text.CollectionParser
 
treeView() - Method in class net.sf.japaki.text.LeafParser
 
treeView() - Method in class net.sf.japaki.text.LineFeed
 
treeView() - Method in class net.sf.japaki.text.MapParser
 
treeView() - Method in class net.sf.japaki.text.OptionalParser
 
treeView() - Method in interface net.sf.japaki.text.Parser
Returns a tree view of this parser.
treeView() - Method in class net.sf.japaki.text.PeekParser
 
treeView() - Method in class net.sf.japaki.text.PropertyParser
 
TwoWayTransformer<S,T> - Interface in net.sf.japaki.basic
Specifies both the methods to transform and to retransform an object.

U

useDefaults(Locale) - Method in class net.sf.japaki.kit.ParserStore
Adds default entries for the specified locale.
useLoggingDefaults() - Static method in class net.sf.japaki.self.ParserBench
Initializes the logging mechanism.

V

valueP - Static variable in class net.sf.japaki.self.ConstantParserBean
Property of the value field
ValuePropertyTransformer<B,S,T> - Class in net.sf.japaki.beans
Property transformer based on a transformer for the values.
ValuePropertyTransformer(TwoWayTransformer<S, T>) - Constructor for class net.sf.japaki.beans.ValuePropertyTransformer
Constructs a value property transformer from the given arguments.

W

write(String, Writer, T) - Method in class net.sf.japaki.self.ParserBench
Performs the following steps: The parser is looked up in the parser store.
write(String, String, T) - Method in class net.sf.japaki.self.ParserBench
Performs the following steps: The parser is looked up in the parser store.
write(ParseWriter, T) - Method in class net.sf.japaki.text.AbstractParser
 
write(ParseWriter, T) - Method in interface net.sf.japaki.text.Parser
Formats the source object and writes it into the output stream
writeIt(ParseWriter, T) - Method in class net.sf.japaki.text.AbstractParser
Formats the source object and writes it into the output stream
writeIt(ParseWriter, B) - Method in class net.sf.japaki.text.BeanParser
Formats the bean using the underlying parsers.
writeIt(ParseWriter, T) - Method in class net.sf.japaki.text.ChoiceParser
Tries to parse the source object with one of the base parsers.
writeIt(ParseWriter, Collection<E>) - Method in class net.sf.japaki.text.CollectionParser
 
writeIt(ParseWriter, B) - Method in class net.sf.japaki.text.LeafParser
 
writeIt(ParseWriter, Object) - Method in class net.sf.japaki.text.LineFeed
 
writeIt(ParseWriter, Map<K, V>) - Method in class net.sf.japaki.text.MapParser
 
writeIt(ParseWriter, T) - Method in class net.sf.japaki.text.OptionalParser
Tries to write the source object with the base parser.
writeIt(ParseWriter, T) - Method in class net.sf.japaki.text.PeekParser
Does nothing.
writeIt(ParseWriter, B) - Method in class net.sf.japaki.text.PropertyParser
Reads the property value from the specified bean and formats it with the underlying parser.
WriterWithPosition - Class in net.sf.japaki.text
The default implementation for a ParseWriter.
WriterWithPosition(Writer) - Constructor for class net.sf.japaki.text.WriterWithPosition
Creates a new WriterWithPosition based on the specified writer.
WriterWithPosition(String) - Constructor for class net.sf.japaki.text.WriterWithPosition
Creates a new WriterWithPosition based on the specified file.

A B C D E F G H I J K L M N O P Q R S T U V W