sets a Segment
may be used to add a new Segment
may be used to change an existing Segment
may be used to remove an Segment, this is done by passing a null object
static class method will build a transaction set based on input string and OBOE.properties defintion
see OBOE.properties file to define the directory path
file name is preppended with xmlPath from OBOE.properties and appended with ".xml"
example
OBOE.properties file contains: xmlPath = c:/xmlDefinitions/
input String is 840
method will read file named: x:/xmlDefinitions/840.xml
method will search for the OBOE.properties file
local directory user.home directory java.home directory
static class method will build a transaction set based on input string and OBOE.properties definition
see OBOE.properties file to define the directory path
file name is preppended with xmlPath from OBOE.properties and appended with ".xml"
example
OBOE.properties file contains: xmlPath = c:/xmlDefinitions/
input String is 840
method will read file named: x:/xmlDefinitions/840.xml
static class method will build a transaction set based on url file name and OBOE.properties defintion
used by the sample html viewer on web page
see OBOE.properties file to define the directory path
file name is preppended with xmlPath from OBOE.properties and appended with ".xml"
example
OBOE.properties file contains: xmlPath = c:/xmlDefinitions/
input String is 840
method will read file named: x:/xmlDefinitions/840.xml
method that goes through list to find what mail has been marked for deletion and calls
a method in IncomingEDIMail class to actually delete the selected mail items
Tokenizer to separate the data elements of a single
segment by looking up the DE length in the templated
of every DE, as defined in the .xml rules file
returns a CompositeDE from in the Container
since more than one dataelement with the same id can be
in the container this is not a very effective method for fetching unique datalements.
returns a DataElement in the Container
since more than one dataelement with the same id can be
in the container this is not a very effective method for fetching unique datalements.
class to be used to log activity NOT IMPLEMENTED
any excpetion is handled by writing to system error file and calling system exit
static method to write a log entry
allows testing of the class, as an application
format: java com.americancoders.edi.EDIMailCall hostid userid password mailServerProtocol
where hostid is the name of your incoming mail server
userid mailid to get mail
password
mailServerProtocol - imap | pop3
main logic for testing
format: java com.americancoders.edi.IncomingEDIMail hostid userid password mailServerProtocol
where hostid is the name of your incoming mail server
userid mailid to get mail
password
mailServerProtocol - imap | pop3
output sent to System.out
removes a Segment from the segmentArray by id, does this by setting array entry to null
can be used to remove all segments with same id at a vectorized position
send an MIME Message Delivery Notification back to sender
hardcoded mailer id
hardcoded subject line, see class variable subject
hardcoded response text
hardcoded reported as automatic-action in MDN disposition
class to assist in tokenizing input transaction sets
field seperator uses 3rd byte of input string
segment separator uses 16th field + 1 byte field, if it sees a cr character then checks for a lf character and then assumes a '\n' character
used by vectorizeMail to parse mail information and store in secondary mail vector
vector parts list
sent date
address from
subject
delete flag
content type
msg number
msg text
sample applet routine used at americancoders web page
OBOE - Open Business Objects for EDI
An EDI and XML Translator Written In Java
Copyright 1998-2000 - American Coders, LTD - Raleigh NC USA
All rights reserved
American Coders, Ltd
P.
java awt application to test documents,
also used by www.americancoders.com web site to show a working applet
Class contains a main method to allow it to invoked as an application.