A B C D E F G H I O P R S T W X

A

addFieldSpec(FieldSpec) - Method in class org.jmonks.batch.io.RecordSpec
Adds the given field spec object to the record spec.
addRecordSpec(RecordSpec) - Method in class org.jmonks.batch.io.FileSpec
Adds the record spec to the file spec.

B

BLOCK_END - Static variable in class org.jmonks.batch.io.RecordType
Represents the ending record of the block and the value to be used in the record spec is "BLOCK-END".
BLOCK_START - Static variable in class org.jmonks.batch.io.RecordType
Represents the starting record of the block and the value to be used in the record spec is "BLOCK-START".

C

close() - Method in class org.jmonks.batch.io.FileReader
Closes the reader and releases all the resources associated with the reader.
close() - Method in class org.jmonks.batch.io.FileWriter
Closes the writer and releases all the resources associated with the writer.
close() - Method in class org.jmonks.batch.io.flat.FlatFileReader
Closes the reader and all the resources it is using.
close() - Method in class org.jmonks.batch.io.flat.FlatFileWriter
Closes the writer and all the resource being used by this writer.
close() - Method in class org.jmonks.batch.io.xml.XMLFileReader
Closes the reader.
close() - Method in class org.jmonks.batch.io.xml.XMLFileWriter
Closes the writer.
createComplexElement(String) - Method in class org.jmonks.batch.io.xml.XMLFileWriter.XMLWriterRecord
Create complex element and add it to the record and returns the writer record instance to which all the elements can be adde.
createComplexElement() - Method in class org.jmonks.batch.io.xml.XMLFileWriter.XMLWriterRecord
Creates an orphan record that can be added to the record or repeated element later.
createDelimitedFlatFileFieldSpec(Element) - Static method in class org.jmonks.batch.io.flat.DelimitedFlatFileFieldSpec
Factory method to create the DelimitedFlatFileFieldSpec instance from the given DOM Element representing the filed-spec element in record spec.
createDelimitedFlatFileFileSpec(Element) - Static method in class org.jmonks.batch.io.flat.DelimitedFlatFileFileSpec
Factory method create the delimited flat file spec object from the given DOM Element representing the file-spec element.
createDelimitedFlatFileRecordSpec(Element) - Static method in class org.jmonks.batch.io.flat.DelimitedFlatFileRecordSpec
Factory method to create the delimited flat record spec from the given DOM Element representing the record-spec element in the file spec.
createFileSpec(InputStream) - Static method in class org.jmonks.batch.io.FileSpec
Creates the file spec object from the file contains the spec.
createFixedWidthFlatFileFieldSpec(Element) - Static method in class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec
Factory method to create the FixedWidthFlatFileFieldSpec instance from the given DOM Element representing the filed-spec element in record spec.
createFixedWidthFlatFileFileSpec(Element) - Static method in class org.jmonks.batch.io.flat.FixedWidthFlatFileFileSpec
Factory method create the fixed width flat file spec object from the given DOM Element representing the file-spec element.
createFixedWidthFlatFileRecordSpec(Element) - Static method in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Factory method to create the fixed width flat record spec from the given DOM Element representing the record-spec element in the file spec.
createRepeatElement(String) - Method in class org.jmonks.batch.io.xml.XMLFileWriter.XMLWriterRecord
Creates the list and add it to the record with the given field name and returns the list to which values can be added.
createWriterRecord(RecordType) - Method in class org.jmonks.batch.io.FileWriter
Creates the writer record to be used to fill all the field values and submit to the file writer to write the record into the file.
createWriterRecord(RecordType) - Method in class org.jmonks.batch.io.flat.FlatFileWriter
Creates the writer record assocites with the given record type.
createWriterRecord(RecordType) - Method in class org.jmonks.batch.io.xml.XMLFileWriter
Creates the writer record assocites with the given record type.
createXMLFileSpec(Element) - Static method in class org.jmonks.batch.io.xml.XMLFileSpec
Factory method to create the xml file spec object from the given DOM Element representing the file-spec element.
createXMLRecordSpec(Element) - Static method in class org.jmonks.batch.io.xml.XMLRecordSpec
Factory method to create the xml record spec from the given DOM Element representing the record-spec element in the file spec.

D

DELIMITED_FLAT_FILE - Static variable in class org.jmonks.batch.io.FileType
Represents the delimited flat files.
DELIMITER_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.flat.DelimitedFlatFileRecordSpec
Constant defines the delimiter attribute name which the value is "delimiter"
DETAIL - Static variable in class org.jmonks.batch.io.RecordType
Represents the detailed record and the value to be used in the record spec is "DETAIL".
DelimitedFlatFileFieldSpec - class org.jmonks.batch.io.flat.DelimitedFlatFileFieldSpec.
DelimitedFlatFileFieldSpec represents field-spec element in the record spec element belongs to the delimited flat file type.
DelimitedFlatFileFieldSpec(String) - Constructor for class org.jmonks.batch.io.flat.DelimitedFlatFileFieldSpec
Creates a new instance of DelimitedFlatFileFieldSpec by using field name.
DelimitedFlatFileFileSpec - class org.jmonks.batch.io.flat.DelimitedFlatFileFileSpec.
DelimitedFlatFileFileSpec represents the file spec defines the flat file where all the fields in the records delimited with a particular character or value.
DelimitedFlatFileFileSpec() - Constructor for class org.jmonks.batch.io.flat.DelimitedFlatFileFileSpec
Constructs the DelimitedFlatFileFileSpec.
DelimitedFlatFileReader - class org.jmonks.batch.io.flat.DelimitedFlatFileReader.
DelimitedFlatFileReader reads the specified delimited flat file according to the given file spec and returns the recrods on the needed basis.
DelimitedFlatFileReader(InputStream, FileSpec) - Constructor for class org.jmonks.batch.io.flat.DelimitedFlatFileReader
Constructs the Delimited flat file reader from the given input stream and file spec.
DelimitedFlatFileReader(Reader, FileSpec) - Constructor for class org.jmonks.batch.io.flat.DelimitedFlatFileReader
Constructs the Delimited flat file reader from the given input stream and file spec.
DelimitedFlatFileRecordSpec - class org.jmonks.batch.io.flat.DelimitedFlatFileRecordSpec.
DelimitedFlatFileRecordSpec represents record-spec element in the file spec belongs to the delimited flat file type.
DelimitedFlatFileRecordSpec(RecordType) - Constructor for class org.jmonks.batch.io.flat.DelimitedFlatFileRecordSpec
Constructs the record spec by accepting the record type.
DelimitedFlatFileWriter - class org.jmonks.batch.io.flat.DelimitedFlatFileWriter.
DelimitedFlatFileWriter writes the file according to the given file spec with the data submitted in the form of WriterRecord's.
DelimitedFlatFileWriter(OutputStream, FileSpec) - Constructor for class org.jmonks.batch.io.flat.DelimitedFlatFileWriter
Constructs the Delimited flat file writer from the given output stream and file spec.
DelimitedFlatFileWriter(Writer, FileSpec) - Constructor for class org.jmonks.batch.io.flat.DelimitedFlatFileWriter
Constructs the Delimited flat file writer from the given output stream and file spec.

E

ENCODING_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.xml.XMLFileSpec
Constant defines the encoding attribute name.
END_POSITION_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec
Constant defines the end position attribute name.
encoding - Variable in class org.jmonks.batch.io.xml.XMLFileSpec
Holds the encoding value to be placed in processing instruction.
endElement() - Method in class org.jmonks.batch.io.xml.PrettyXMLIndentationEngine
 
endElement() - Method in interface org.jmonks.batch.io.xml.XMLIndentationEngine
Returns the indentation string needs to be written to tbe stream before the element element being written.
equals(Object) - Method in class org.jmonks.batch.io.RecordType
Equality will be based on the type.

F

FIELD_COUNT_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.flat.DelimitedFlatFileRecordSpec
Constant defines the field count attribute name which the value is "field-count"
FIELD_NAME_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.FieldSpec
Constant defines the field name atttribute name.
FIELD_SPEC_TAG_NAME - Static variable in class org.jmonks.batch.io.FieldSpec
Constant defines the field spec tag name.
FILE_SPEC_TAG_NAME - Static variable in class org.jmonks.batch.io.FileSpec
Constant defines the file spec tage name.
FILE_TYPE_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.FileSpec
Constant defines the attribute name file type should contain.
FIXED_WIDTH_FLAT_FILE - Static variable in class org.jmonks.batch.io.FileType
Represents the fixed width flat files.
FieldSpec - class org.jmonks.batch.io.FieldSpec.
FieldSpec represents the <field-spec> element in file spec.
FieldSpec(String) - Constructor for class org.jmonks.batch.io.FieldSpec
Constructs the FieldSpec object by accepting the field name.
FileParseException - exception org.jmonks.batch.io.FileParseException.
FileParseException is a runtime exception thrown when there is a problem reading the records from the file or writing the records into the file.
FileParseException(String) - Constructor for class org.jmonks.batch.io.FileParseException
Constructs the FileParseException by accepting the message describes the problem.
FileReader - class org.jmonks.batch.io.FileReader.
FileReader reads the specified file based on the given file spec and returns the data in the form of ReaderRecord's to read the required values referring the field names.
FileReader() - Constructor for class org.jmonks.batch.io.FileReader
 
FileSpec - class org.jmonks.batch.io.FileSpec.
FileSpec represents the file contains specification (spec for short) of any file to read or write using this package.
FileSpec(FileType) - Constructor for class org.jmonks.batch.io.FileSpec
Constructs the FileSpec object by accepting file type.
FileSpecException - exception org.jmonks.batch.io.FileSpecException.
FileSpecException is a runtime exception thrown when there is a problem creating the FileSpec object from the given file contains the file specification.
FileSpecException(String) - Constructor for class org.jmonks.batch.io.FileSpecException
Constructs the FileSpecException by accepting the message describes the problem.
FileType - class org.jmonks.batch.io.FileType.
FileType defines different kinds of file formats this package supports for reading and writing.
FileWriter - class org.jmonks.batch.io.FileWriter.
FileWriter writes the specified file based on the given file spec with the data written in the form of WriterRecord's.
FileWriter() - Constructor for class org.jmonks.batch.io.FileWriter
 
FixedWidthFlatFileFieldSpec - class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec.
FixedWidthFlatFileFieldSpec represents field-spec element in the record spec belongs to the fixed width flat file type.
FixedWidthFlatFileFieldSpec(String) - Constructor for class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec
Creates a new instance of FixedWidthFlatFileFieldSpec by using field name.
FixedWidthFlatFileFileSpec - class org.jmonks.batch.io.flat.FixedWidthFlatFileFileSpec.
FixedWidthFlatFileFileSpec represents the file spec defines the flat file where each different kind of record starts with a particular value and the fields in each record will have start and end position.
FixedWidthFlatFileFileSpec() - Constructor for class org.jmonks.batch.io.flat.FixedWidthFlatFileFileSpec
Constructs the FixedWidthFlatFileFileSpec.
FixedWidthFlatFileReader - class org.jmonks.batch.io.flat.FixedWidthFlatFileReader.
FixedWidthFlatFileReader reads the specified fixed width flat file according to the given file spec and returns the recrods on the needed basis.
FixedWidthFlatFileReader(InputStream, FileSpec) - Constructor for class org.jmonks.batch.io.flat.FixedWidthFlatFileReader
Constructs and initializes the reader with the given file path and file spec.
FixedWidthFlatFileReader(Reader, FileSpec) - Constructor for class org.jmonks.batch.io.flat.FixedWidthFlatFileReader
Constructs and initializes the reader with the given file path and file spec.
FixedWidthFlatFileRecordSpec - class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec.
FixedWidthFlatFileRecordSpec represents record-spec element in the file spec belongs to the fixed width flat file type.
FixedWidthFlatFileRecordSpec(RecordType) - Constructor for class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Constructs the record spec by accepting the record type.
FixedWidthFlatFileWriter - class org.jmonks.batch.io.flat.FixedWidthFlatFileWriter.
FixedWidthFlatFileWriter writes the file according to the given file spec with the data submitted in the form of WriterRecord's.
FixedWidthFlatFileWriter(OutputStream, FileSpec) - Constructor for class org.jmonks.batch.io.flat.FixedWidthFlatFileWriter
Constructs and initializes the writer with the given values.
FixedWidthFlatFileWriter(Writer, FileSpec) - Constructor for class org.jmonks.batch.io.flat.FixedWidthFlatFileWriter
Constructs and initializes the writer with the given values.
FlatFileReader - class org.jmonks.batch.io.flat.FlatFileReader.
FlatFileReader reads the specified fixed width flat file according to the given file spec and returns the recrods on the needed basis.
FlatFileReader(InputStream, FileSpec) - Constructor for class org.jmonks.batch.io.flat.FlatFileReader
Constructs and initializes the flat file reader with the given file path and file spec.
FlatFileReader(Reader, FileSpec) - Constructor for class org.jmonks.batch.io.flat.FlatFileReader
Constructs and initializes the flat file reader with the given file path and file spec.
FlatFileReader.FlatFileReaderRecord - class org.jmonks.batch.io.flat.FlatFileReader.FlatFileReaderRecord.
FixedWidthFlatFileReaderRecord implements ReaderRecord by maintaing the field names and values as a map and provides the methods with proper access privileges to read into and write from the record.
FlatFileReader.FlatFileReaderRecord(RecordType, int) - Constructor for class org.jmonks.batch.io.flat.FlatFileReader.FlatFileReaderRecord
Private constructor to make sure only reader can create the record.
FlatFileWriter - class org.jmonks.batch.io.flat.FlatFileWriter.
FlatFileWriter writes/generates the file according to the given file spec with the data submitted in the form of WriterRecord's.
FlatFileWriter(OutputStream, FileSpec) - Constructor for class org.jmonks.batch.io.flat.FlatFileWriter
Constructs and initializes the writer with the given values.
FlatFileWriter(Writer, FileSpec) - Constructor for class org.jmonks.batch.io.flat.FlatFileWriter
Constructs and initializes the writer with the given values.
FlatFileWriter.FlatFileWriterRecord - class org.jmonks.batch.io.flat.FlatFileWriter.FlatFileWriterRecord.
FixedWidthFlatFileWriterRecord implements WriterRecord by maintaing the field names and values as a map and provides the methods with proper access privileges to read into and write from the record.
FlatFileWriter.FlatFileWriterRecord(RecordType) - Constructor for class org.jmonks.batch.io.flat.FlatFileWriter.FlatFileWriterRecord
Constructs and initializes the writer record.
fieldName - Variable in class org.jmonks.batch.io.FieldSpec
Holds the name of the field.
fieldSpecList - Variable in class org.jmonks.batch.io.RecordSpec
Holds all the field spec objects.
fileSpec - Variable in class org.jmonks.batch.io.flat.FlatFileReader
File spec to be used to read the flat file.
fileSpec - Variable in class org.jmonks.batch.io.flat.FlatFileWriter
File spec to be used in writing the file.
fileSpec - Variable in class org.jmonks.batch.io.xml.XMLFileReader
File spec to read the file.
fileSpec - Variable in class org.jmonks.batch.io.xml.XMLFileWriter
File spec to be adhered with.
fileType - Variable in class org.jmonks.batch.io.FileSpec
Holds the type of the file this spec is representing.

G

generateRecord(WriterRecord) - Method in class org.jmonks.batch.io.flat.DelimitedFlatFileWriter
Generates the string represenatation of the record from the writer record given by client.
generateRecord(WriterRecord) - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileWriter
Writes the given record into the file/writer.
generateRecord(WriterRecord) - Method in class org.jmonks.batch.io.flat.FlatFileWriter
Generates the string representation of the record from given writer record.
getDelimiter() - Method in class org.jmonks.batch.io.flat.DelimitedFlatFileRecordSpec
Returns the delimiter which divides the fields in the record.
getEncoding() - Method in class org.jmonks.batch.io.xml.XMLFileSpec
Get the encoding value to be placed in processing instruction.
getEndPosition() - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec
Gets the ending position of the field.
getFieldCount() - Method in class org.jmonks.batch.io.flat.DelimitedFlatFileRecordSpec
Returns the number of fields exists in this record.
getFieldName() - Method in class org.jmonks.batch.io.FieldSpec
Returns the field name.
getFieldSpecs() - Method in class org.jmonks.batch.io.RecordSpec
Gets the field spec objects as a list.
getFieldWidth() - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec
Gets the field width.
getFileReader(InputStream, InputStream) - Static method in class org.jmonks.batch.io.FileReader
Factory method to get the file reader.
getFileReader(InputStream, FileSpec) - Static method in class org.jmonks.batch.io.FileReader
Factory method to get the file reader.
getFileReader(Reader, InputStream) - Static method in class org.jmonks.batch.io.FileReader
Factory method to get the file reader.
getFileReader(Reader, FileSpec) - Static method in class org.jmonks.batch.io.FileReader
Factory method to get the file reader.
getFileType() - Method in class org.jmonks.batch.io.FileSpec
Gets the file type.
getFileWriter(OutputStream, InputStream) - Static method in class org.jmonks.batch.io.FileWriter
Factory method to get the file writer.
getFileWriter(OutputStream, FileSpec) - Static method in class org.jmonks.batch.io.FileWriter
Factory method to get the file writer.
getFileWriter(Writer, InputStream) - Static method in class org.jmonks.batch.io.FileWriter
Factory method to get the file writer.
getFileWriter(Writer, FileSpec) - Static method in class org.jmonks.batch.io.FileWriter
Factory method to get the file writer.
getIndex() - Method in class org.jmonks.batch.io.flat.DelimitedFlatFileFieldSpec
Returns the index of field in the record.
getNextRecord() - Method in class org.jmonks.batch.io.FileReader
Gets the next available record from the file.
getNextRecord() - Method in class org.jmonks.batch.io.flat.FlatFileReader
Gets the next available record from the file and returns it wrapped with the appropriate ReaderRecod object to easily access the data fields from the record.
getNextRecord() - Method in class org.jmonks.batch.io.xml.XMLFileReader
Gets the next available record from the file.
getRecordLength() - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Gets the length of the record.
getRecordSpec(RecordType) - Method in class org.jmonks.batch.io.FileSpec
Gets the record spec associated with the given record type.
getRecordSpecs() - Method in class org.jmonks.batch.io.FileSpec
Gets all the record spec's in this file spec as a list.
getRecordType() - Method in class org.jmonks.batch.io.Record
Gets the record type.
getRecordType() - Method in class org.jmonks.batch.io.RecordSpec
Returns the record type of this record spec.
getRecordXPath() - Method in class org.jmonks.batch.io.xml.XMLRecordSpec
Gets the xpath to identify the record.
getRootElement() - Method in class org.jmonks.batch.io.xml.XMLFileSpec
Gets the root element.
getStartPosition() - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec
Gets the starting position of the field.
getStartsWith() - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Gets the starts-with value of this record.
getXMLIndentationEngineClassName() - Method in class org.jmonks.batch.io.xml.XMLFileSpec
Returns the XMLIndentationEngine class name to be used to format the output.

H

HEADER - Static variable in class org.jmonks.batch.io.RecordType
Represents the header record and the value to be used in the record spec is "HEADER".
hashCode() - Method in class org.jmonks.batch.io.RecordType
Hashcode of the type will be returned as a hash code.

I

INDEX_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.flat.DelimitedFlatFileFieldSpec
Constant defines the index attribute name which is "index"
isMatch(String) - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Tells whether the given record matches with the record spec.
isMatch(String) - Method in class org.jmonks.batch.io.xml.XMLRecordSpec
Tells whether given xpath matches the xpath of this record spec.
isValidRecordType(RecordType) - Method in class org.jmonks.batch.io.FileSpec
Tells whether a record spec is exists with the given record type in the file spec.

O

org.jmonks.batch.io - package org.jmonks.batch.io
Defines API for the clients to read records from the file and write records into the file.
org.jmonks.batch.io.flat - package org.jmonks.batch.io.flat
Flat file implementation for the IO API.
org.jmonks.batch.io.xml - package org.jmonks.batch.io.xml
XML file implementation for the IO API.

P

PrettyXMLIndentationEngine - class org.jmonks.batch.io.xml.PrettyXMLIndentationEngine.
PrettyXMLIndentationEngine writes the the elements in XML in the folloing manner.
PrettyXMLIndentationEngine() - Constructor for class org.jmonks.batch.io.xml.PrettyXMLIndentationEngine
 
parseRecord(String) - Method in class org.jmonks.batch.io.flat.DelimitedFlatFileReader
Parses the given record string where fields are delimited by a special character and returns the reader record.
parseRecord(String) - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileReader
Parses the given record string, translates it into the proper ReaderRecord and returns the reader record.
parseRecord(String) - Method in class org.jmonks.batch.io.flat.FlatFileReader
Parses the given record string based on the record spec, translates it into the appropriate ReaderRecord and returns that reader record.

R

RECORD_LENGTH_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Constant defines the record length attribute name.
RECORD_SPEC_TAG_NAME - Static variable in class org.jmonks.batch.io.RecordSpec
Constant defines the record spec tag name.
RECORD_TYPE_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.RecordSpec
Constant defines the record type attribute name.
RECORD_XPATH_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.xml.XMLRecordSpec
Constant defines the record xpath attribute name.
ROOT_ELEMENT_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.xml.XMLFileSpec
Constant defines the root element attribute name.
ReaderRecord - class org.jmonks.batch.io.ReaderRecord.
ReaderRecord provides the methods to read the values of the fields from a record.
ReaderRecord(RecordType) - Constructor for class org.jmonks.batch.io.ReaderRecord
Constructs the ReaderRecord by accepting the record type.
Record - class org.jmonks.batch.io.Record.
Record represents the map of field names and values based on the record spec defined in the file spec.
Record(RecordType) - Constructor for class org.jmonks.batch.io.Record
Creates the record by accepting the record type.
RecordSpec - class org.jmonks.batch.io.RecordSpec.
RecordSpec represents the <record-spec> element in file spec.
RecordSpec(RecordType) - Constructor for class org.jmonks.batch.io.RecordSpec
Constructs the RecordSpec object by accepting the RecordType.
RecordType - class org.jmonks.batch.io.RecordType.
RecordType defines the different kind of records can be available in a file.
readComplexElement(String) - Method in class org.jmonks.batch.io.xml.XMLFileReader.XMLReaderRecord
Expectes the element as a nested/composite element and returns it as a reader record.
readField(String) - Method in class org.jmonks.batch.io.ReaderRecord
Reads the value of the given field from the record.
readField(String) - Method in class org.jmonks.batch.io.flat.FlatFileReader.FlatFileReaderRecord
Field values can be read by using the names provided in the field spec.
readField(String) - Method in class org.jmonks.batch.io.flat.FlatFileWriter.FlatFileWriterRecord
Reads and returns the value associated with requested field name.
readField(String) - Method in class org.jmonks.batch.io.xml.XMLFileReader.XMLReaderRecord
Reads the values associated with the given field name and returns.
readRepeatElement(String) - Method in class org.jmonks.batch.io.xml.XMLFileReader.XMLReaderRecord
Expectes the element as repeated element and returns it as a list.
readSimpleElement(String) - Method in class org.jmonks.batch.io.xml.XMLFileReader.XMLReaderRecord
Expectes the element as a simple element and returns it as a string.
recordLength - Variable in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Holds the length of the record.
recordSpecMap - Variable in class org.jmonks.batch.io.FileSpec
Map holds the record specs with their record types as keys.
recordType - Variable in class org.jmonks.batch.io.RecordSpec
Holds the type of the record this spec is representing.
recordXPath - Variable in class org.jmonks.batch.io.xml.XMLRecordSpec
Holds the record spec xpath.
rootElement - Variable in class org.jmonks.batch.io.xml.XMLFileSpec
Holds the root element.

S

STARTS_WITH_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Constant defines the starts with attribute name.
START_POSITION_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec
Constant defines the start position attribute name.
startElement() - Method in class org.jmonks.batch.io.xml.PrettyXMLIndentationEngine
 
startElement() - Method in interface org.jmonks.batch.io.xml.XMLIndentationEngine
Returns the indentation string needs to be written to tbe stream before the start element being written.
startsWith - Variable in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
Holds the record specs starts with attribute value.

T

TRAILER - Static variable in class org.jmonks.batch.io.RecordType
Represents the header record and the value to be used in the record spec is "TRAILER".
toFileType(String) - Static method in class org.jmonks.batch.io.FileType
Utility method returns the FileType object matches to the given value.
toRecordType(String) - Static method in class org.jmonks.batch.io.RecordType
Utility method returns the RecordType object matches to the given value.
toString() - Method in class org.jmonks.batch.io.FileType
Returns the string representation of the FileType which can be used to defines the file spec.
toString() - Method in class org.jmonks.batch.io.RecordType
Returns the string representation of the RecordType which can be used to define the record spec in file spec.
toString() - Method in class org.jmonks.batch.io.flat.DelimitedFlatFileFieldSpec
 
toString() - Method in class org.jmonks.batch.io.flat.DelimitedFlatFileFileSpec
 
toString() - Method in class org.jmonks.batch.io.flat.DelimitedFlatFileRecordSpec
 
toString() - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileFieldSpec
 
toString() - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileFileSpec
 
toString() - Method in class org.jmonks.batch.io.flat.FixedWidthFlatFileRecordSpec
 
toString() - Method in class org.jmonks.batch.io.xml.XMLFileReader.XMLReaderRecord
 
toString() - Method in class org.jmonks.batch.io.xml.XMLFileSpec
 
toString() - Method in class org.jmonks.batch.io.xml.XMLRecordSpec
 

W

WriterRecord - class org.jmonks.batch.io.WriterRecord.
WriterRecord provides the methods to write the values of the fields into the record.
WriterRecord(RecordType) - Constructor for class org.jmonks.batch.io.WriterRecord
Creates a new instance of WriterRecord by accepting the type of record.
writeComplexElement(String, XMLFileWriter.XMLWriterRecord) - Method in class org.jmonks.batch.io.xml.XMLFileWriter
Writes the nested/composite element into the file.
writeField(String, Object) - Method in class org.jmonks.batch.io.WriterRecord
Writes the given field name and value into the record.
writeField(String, String) - Method in class org.jmonks.batch.io.flat.FlatFileReader.FlatFileReaderRecord
This is for the Reader to write the data into the record.
writeField(String, Object) - Method in class org.jmonks.batch.io.flat.FlatFileWriter.FlatFileWriterRecord
Writes the field data into the record.
writeField(String, Object) - Method in class org.jmonks.batch.io.xml.XMLFileWriter.XMLWriterRecord
Writes the given field name and value into the record.
writeRecord(WriterRecord) - Method in class org.jmonks.batch.io.FileWriter
Writes the given record into the file.
writeRecord(WriterRecord) - Method in class org.jmonks.batch.io.flat.FlatFileWriter
Writes the given record into the file/writer.
writeRecord(WriterRecord) - Method in class org.jmonks.batch.io.xml.XMLFileWriter
Writes the record into the file.
writeRepeatElement(String, List) - Method in class org.jmonks.batch.io.xml.XMLFileWriter
Writes the repeated element into the file.
writeSimpleElement(String, String) - Method in class org.jmonks.batch.io.xml.XMLFileWriter.XMLWriterRecord
Write simple element into the record.
writeSimpleElement(String, Object) - Method in class org.jmonks.batch.io.xml.XMLFileWriter
Writes the simple element into the file.

X

XMLFileReader - class org.jmonks.batch.io.xml.XMLFileReader.
XMLFileReader reads the specified xml file according to the given file spec and returns the recrods on the needed basis.
XMLFileReader(InputStream, FileSpec) - Constructor for class org.jmonks.batch.io.xml.XMLFileReader
Constructs and initializes the XML File reader.
XMLFileReader(Reader, FileSpec) - Constructor for class org.jmonks.batch.io.xml.XMLFileReader
Constructs and initializes the XML File reader.
XMLFileReader.XMLReaderRecord - class org.jmonks.batch.io.xml.XMLFileReader.XMLReaderRecord.
XMLReaderRecord implements ReaderRecord by maintaing the field names and values as a map and provides the methods with proper access privileges to read into and write from the record.
XMLFileSpec - class org.jmonks.batch.io.xml.XMLFileSpec.
XMLFileSpec represents the file spec defines the xml file where each different kind of record identified by the xpath.
XMLFileSpec() - Constructor for class org.jmonks.batch.io.xml.XMLFileSpec
Constructs the XMLFileSpec instance.
XMLFileWriter - class org.jmonks.batch.io.xml.XMLFileWriter.
XMLFileWriter writes the specified xml file according to the given file spec with the the recrods submitted to write into the file.
XMLFileWriter(OutputStream, FileSpec) - Constructor for class org.jmonks.batch.io.xml.XMLFileWriter
Constructs and initializes the writer with the given values.
XMLFileWriter(Writer, FileSpec) - Constructor for class org.jmonks.batch.io.xml.XMLFileWriter
Constructs and initializes the writer with the given values.
XMLFileWriter.XMLWriterRecord - class org.jmonks.batch.io.xml.XMLFileWriter.XMLWriterRecord.
XMLWriterRecord implements WriterRecord by maintaing the field names and values as a map and provides the methods with proper access privileges to read into and write from the record.
XMLIndentationEngine - interface org.jmonks.batch.io.xml.XMLIndentationEngine.
XMLIndentationEngine returns the indentation information to be written to the stream based on events received.
XMLRecordSpec - class org.jmonks.batch.io.xml.XMLRecordSpec.
XMLRecordSpec represents record-spec element in the file spec belongs to the xml file type.
XMLRecordSpec(RecordType) - Constructor for class org.jmonks.batch.io.xml.XMLRecordSpec
Constructs the XMLRecordSpec by using record type.
XML_FILE - Static variable in class org.jmonks.batch.io.FileType
Represents the xml files.
XML_INDENTATION_ENGINE_ATTRIB_NAME - Static variable in class org.jmonks.batch.io.xml.XMLFileSpec
Constant defines the xml indentation engine attribute name.
xmlIndentationEngineClassName - Variable in class org.jmonks.batch.io.xml.XMLFileSpec
Holds the class name of XMLIndentationEngine.

A B C D E F G H I O P R S T W X