A B C D G H I L M O P R S T U V Z 
All Classes All Packages

A

AbstractLeftPadder - Class in org.fissore.jrecordbind.padders
 
AbstractLeftPadder(char) - Constructor for class org.fissore.jrecordbind.padders.AbstractLeftPadder
 
AbstractPadder - Class in org.fissore.jrecordbind.padders
 
AbstractPadder(char) - Constructor for class org.fissore.jrecordbind.padders.AbstractPadder
 
AbstractRightPadder - Class in org.fissore.jrecordbind.padders
 
AbstractRightPadder(char) - Constructor for class org.fissore.jrecordbind.padders.AbstractRightPadder
 

B

buildPad(String, int) - Method in class org.fissore.jrecordbind.padders.AbstractPadder
 

C

convert(String) - Method in interface org.fissore.jrecordbind.Converter
Converts a String into an object, e.g.
convert(String) - Method in class org.fissore.jrecordbind.converters.IntegerConverter
 
convert(String) - Method in class org.fissore.jrecordbind.converters.LongConverter
 
convert(String) - Method in class org.fissore.jrecordbind.converters.StringConverter
 
convert(String) - Method in class org.fissore.jrecordbind.converters.VoidConverter
 
Converter - Interface in org.fissore.jrecordbind
Used to convert a String to an appropriate object and an object to its String representation.

D

deepPattern(RecordDefinition) - Method in class org.fissore.jrecordbind.RegexGenerator
 
DefinitionLoader - Class in org.fissore.jrecordbind
Reads the record definition and creates as many RecordDefinitions as needed
DefinitionLoader() - Constructor for class org.fissore.jrecordbind.DefinitionLoader
 

G

getClassName() - Method in class org.fissore.jrecordbind.RecordDefinition
The fully qualified class name described by this definition
getConverter() - Method in class org.fissore.jrecordbind.RecordDefinition.Property
The fully qualified class name of the converter used to marshall and unmarshall this property
getCurrentJunk() - Method in class org.fissore.jrecordbind.Unmarshaller
Returns the current internal buffer content.
getDefaultPadder() - Method in class org.fissore.jrecordbind.RecordDefinition
 
getFixedValue() - Method in class org.fissore.jrecordbind.RecordDefinition.Property
The fixed value of this property, usually used to identify different lines in a single file
getLength() - Method in class org.fissore.jrecordbind.RecordDefinition
The length of the fixed-length file
getLength() - Method in class org.fissore.jrecordbind.RecordDefinition.Property
The length of the property
getLineSeparator() - Method in class org.fissore.jrecordbind.RecordDefinition
 
getMaxOccurs() - Method in class org.fissore.jrecordbind.RecordDefinition
How many times this definition can occur in the fixed-length file? Main definition can occur 1 time only, subdefinitions can vary
getMinOccurs() - Method in class org.fissore.jrecordbind.RecordDefinition
How many times this definition must occur in the fixed-length file? Main definition must occur 1 time, subdefinitions can vary
getName() - Method in class org.fissore.jrecordbind.RecordDefinition.Property
The name of the property
getPadder() - Method in class org.fissore.jrecordbind.RecordDefinition.Property
The padder used to pad this property value.
getParent() - Method in class org.fissore.jrecordbind.RecordDefinition
 
getPrintableLineSeparator() - Method in class org.fissore.jrecordbind.RecordDefinition
 
getProperties() - Method in class org.fissore.jrecordbind.RecordDefinition
The list of properties contained by this definition
getPropertyDelimiter() - Method in class org.fissore.jrecordbind.RecordDefinition
The delimiter used in the fixed-length file
getPropertyPattern() - Method in class org.fissore.jrecordbind.RecordDefinition
The regex that matches a property (i.e.
getRow() - Method in class org.fissore.jrecordbind.RecordDefinition.Property
The row this property is at.
getSetterName() - Method in class org.fissore.jrecordbind.RecordDefinition
The name of the property used to set records from this definition in the parent (container) definition.
getSubRecords() - Method in class org.fissore.jrecordbind.RecordDefinition
The sub definitions contained by this definition (hierarchy based files)
getType() - Method in class org.fissore.jrecordbind.RecordDefinition.Property
The class name of the type of this property.

H

hashCode() - Method in class org.fissore.jrecordbind.RecordDefinition
 
hasParent() - Method in class org.fissore.jrecordbind.RecordDefinition
 

I

IntegerConverter - Class in org.fissore.jrecordbind.converters
 
IntegerConverter() - Constructor for class org.fissore.jrecordbind.converters.IntegerConverter
 
isChoice() - Method in class org.fissore.jrecordbind.RecordDefinition
 
isDelimited() - Method in class org.fissore.jrecordbind.RecordDefinition
Tells if properties of this record are delimited
isEnum() - Method in class org.fissore.jrecordbind.RecordDefinition.Property
 

L

LineReader - Interface in org.fissore.jrecordbind
When the Unmarshaller reads a text file, it reads it via a LineReader.
Unless specified, the default implementation will be used, SimpleLineReader, which will read each line and pass it to the Unmarshaller
Sometimes, text files contains lines you're not interested to, or you want to do some preprocessing before parsing them: in such cases, it's useful to provide your own implementation of LineReader
load(File) - Method in class org.fissore.jrecordbind.DefinitionLoader
Parses the input .xsd and creates as many RecordDefinitions as needed
load(Reader) - Method in class org.fissore.jrecordbind.DefinitionLoader
Parses the input .xsd and creates as many RecordDefinitions as needed
load(InputSource) - Method in class org.fissore.jrecordbind.DefinitionLoader
Parses the input .xsd and creates as many RecordDefinitions as needed
localPattern(RecordDefinition) - Method in class org.fissore.jrecordbind.RegexGenerator
 
LongConverter - Class in org.fissore.jrecordbind.converters
 
LongConverter() - Constructor for class org.fissore.jrecordbind.converters.LongConverter
 

M

marshall(E, Writer) - Method in class org.fissore.jrecordbind.Marshaller
Marshalls a bean to a writer
marshallAll(Collection<E>, Writer) - Method in class org.fissore.jrecordbind.Marshaller
Marshalls a collection of beans to a writer
Marshaller<E> - Class in org.fissore.jrecordbind
Transforms beans to text according to the given record definition
Marshaller(RecordDefinition) - Constructor for class org.fissore.jrecordbind.Marshaller
Creates a new marshaller, with the specified record definition
Marshaller(RecordDefinition, Map<String, Converter>, Map<String, Padder>) - Constructor for class org.fissore.jrecordbind.Marshaller
Creates a new marshaller, with the specified record definition and user provided instances of converters and padders.

O

org.fissore.jrecordbind - module org.fissore.jrecordbind
 
org.fissore.jrecordbind - package org.fissore.jrecordbind
 
org.fissore.jrecordbind.converters - package org.fissore.jrecordbind.converters
Built-in converters
org.fissore.jrecordbind.padders - package org.fissore.jrecordbind.padders
Built-in padders
org.fissore.jrecordbind.util - package org.fissore.jrecordbind.util
 

P

pad(String, int) - Method in interface org.fissore.jrecordbind.Padder
Pads a string to the given length
pad(String, int) - Method in class org.fissore.jrecordbind.padders.AbstractLeftPadder
 
pad(String, int) - Method in class org.fissore.jrecordbind.padders.AbstractRightPadder
 
padChar - Variable in class org.fissore.jrecordbind.padders.AbstractPadder
 
Padder - Interface in org.fissore.jrecordbind
Used when writing records to a file.
Property(String) - Constructor for class org.fissore.jrecordbind.RecordDefinition.Property
Creates a new Property

R

readLine(Reader, Padder, String, int, String) - Method in interface org.fissore.jrecordbind.LineReader
Reads a line from a Reader.
readLine(Reader, Padder, String, int, String) - Method in class org.fissore.jrecordbind.SimpleLineReader
 
RecordDefinition - Class in org.fissore.jrecordbind
The definition of the record bean.
RecordDefinition() - Constructor for class org.fissore.jrecordbind.RecordDefinition
Creates a new instance, without a parent (aka: the main definition)
RecordDefinition(RecordDefinition) - Constructor for class org.fissore.jrecordbind.RecordDefinition
Creates a new instance, with the given parent definition.
RecordDefinition.Property - Class in org.fissore.jrecordbind
A single "element" in the fixed-length file definition
RegexGenerator - Class in org.fissore.jrecordbind
Generates the regular expression the matches the RecordDefinition
RegexGenerator() - Constructor for class org.fissore.jrecordbind.RegexGenerator
 

S

setChoice(boolean) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setClassName(String) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setClassName(String, String) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setConverter(String) - Method in class org.fissore.jrecordbind.RecordDefinition.Property
 
setDefaultPadder(String) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setFixedValue(String) - Method in class org.fissore.jrecordbind.RecordDefinition.Property
 
setLength(int) - Method in class org.fissore.jrecordbind.RecordDefinition.Property
 
setLength(int) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setLineSeparator(String) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setMaxOccurs(int) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setMinOccurs(int) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setPadder(String) - Method in class org.fissore.jrecordbind.RecordDefinition.Property
 
setPropertyDelimiter(String) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setRow(int) - Method in class org.fissore.jrecordbind.RecordDefinition.Property
 
setSetterName(String) - Method in class org.fissore.jrecordbind.RecordDefinition
 
setType(String) - Method in class org.fissore.jrecordbind.RecordDefinition.Property
 
SimpleLineReader - Class in org.fissore.jrecordbind
The default LineReader implementation.
SimpleLineReader() - Constructor for class org.fissore.jrecordbind.SimpleLineReader
 
SpaceLeftPadder - Class in org.fissore.jrecordbind.padders
 
SpaceLeftPadder() - Constructor for class org.fissore.jrecordbind.padders.SpaceLeftPadder
 
SpaceRightPadder - Class in org.fissore.jrecordbind.padders
 
SpaceRightPadder() - Constructor for class org.fissore.jrecordbind.padders.SpaceRightPadder
 
StringConverter - Class in org.fissore.jrecordbind.converters
 
StringConverter() - Constructor for class org.fissore.jrecordbind.converters.StringConverter
 

T

toString(Object) - Method in interface org.fissore.jrecordbind.Converter
Converts an object into string, e.g.
toString(Object) - Method in class org.fissore.jrecordbind.converters.IntegerConverter
 
toString(Object) - Method in class org.fissore.jrecordbind.converters.LongConverter
 
toString(Object) - Method in class org.fissore.jrecordbind.converters.StringConverter
 
toString(Object) - Method in class org.fissore.jrecordbind.converters.VoidConverter
 
trim(Object) - Method in class org.fissore.jrecordbind.util.Trimmer
 
Trimmer - Class in org.fissore.jrecordbind.util
Given an object, looks for methods that start with "get" or "is" and return a String.
Trimmer() - Constructor for class org.fissore.jrecordbind.util.Trimmer
 
TrimmerException - Exception in org.fissore.jrecordbind.util
 
TrimmerException(Throwable) - Constructor for exception org.fissore.jrecordbind.util.TrimmerException
 

U

Unmarshaller<E> - Class in org.fissore.jrecordbind
Transforms an input reader into beans.
Unmarshaller(RecordDefinition) - Constructor for class org.fissore.jrecordbind.Unmarshaller
Creates a new Unmarshaller, with the specified record definition and using the default LineReader implementation
Unmarshaller(RecordDefinition, LineReader) - Constructor for class org.fissore.jrecordbind.Unmarshaller
Creates a new Unmarshaller, with the specified record definition and using the specified LineReader implementation
Unmarshaller(RecordDefinition, LineReader, Map<String, Converter>, Map<String, Padder>) - Constructor for class org.fissore.jrecordbind.Unmarshaller
Creates a new Unmarshaller, with the specified record definition and using the specified LineReader implementation, and with user provided instances of converters and padders.
unmarshallToIterator(Reader) - Method in class org.fissore.jrecordbind.Unmarshaller
Unmarshalls the input fixed-length file, a bean at a time
unmarshallToStream(Reader) - Method in class org.fissore.jrecordbind.Unmarshaller
Like Unmarshaller.unmarshallToIterator(Reader), but returns a Stream instead of an Iterator
unpad(String) - Method in interface org.fissore.jrecordbind.Padder
 
unpad(String) - Method in class org.fissore.jrecordbind.padders.AbstractLeftPadder
 
unpad(String) - Method in class org.fissore.jrecordbind.padders.AbstractRightPadder
 

V

VoidConverter - Class in org.fissore.jrecordbind.converters
 
VoidConverter() - Constructor for class org.fissore.jrecordbind.converters.VoidConverter
 

Z

ZeroLeftPadder - Class in org.fissore.jrecordbind.padders
 
ZeroLeftPadder() - Constructor for class org.fissore.jrecordbind.padders.ZeroLeftPadder
 
ZeroRightPadder - Class in org.fissore.jrecordbind.padders
 
ZeroRightPadder() - Constructor for class org.fissore.jrecordbind.padders.ZeroRightPadder
 
A B C D G H I L M O P R S T U V Z 
All Classes All Packages