com.americancoders.edi.EDIFact
Class EdifactExample

java.lang.Object
  |
  +--com.americancoders.edi.EDIFact.EdifactExample

public class EdifactExample
extends java.lang.Object

Version:
1.0

Constructor Summary
EdifactExample(java.lang.String filein, java.lang.String fileout)
           
 
Method Summary
 java.lang.String getContents(java.io.File inFile)
          Reads the contents of a file and returns it as String - warning: there may occure problems because a byte buffer is used instead of a char buffer.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdifactExample

public EdifactExample(java.lang.String filein,
                      java.lang.String fileout)
Method Detail

getContents

public java.lang.String getContents(java.io.File inFile)
                             throws java.io.IOException
Reads the contents of a file and returns it as String - warning: there may occure problems because a byte buffer is used instead of a char buffer.
Parameters:
inFile - File to read
return - String that contains the file contents

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments