Class NARXMLOIFormatter

java.lang.Object
com.nt.udc.ndk.node.OIFileFormatter
com.nt.udc.oi.node.narxml.NARXMLOIFormatter

public class NARXMLOIFormatter extends OIFileFormatter
  • Constructor Details

    • NARXMLOIFormatter

      public NARXMLOIFormatter(LoggerIfc logger, OIFileWriter oiFileWriter)
      Constructor
      Parameters:
      logger - LoggerIfc() object providing access to the node's log file
      oiFileWriter - OIFileWriter() object responsible for file output and managing the output files.
  • Method Details

    • writeToFile

      public void writeToFile(DCFieldContainer record) throws IOException
      This method will write the NAR (as an array of bytes) to the output file.
      Specified by:
      writeToFile in class OIFileFormatter
      Throws:
      IOException
    • setNARSPerFile

      public void setNARSPerFile(int numNARs)
      This method sets the maximum number of NARs to be written to each file.