With HL7+ we give you 3 different public class objects for working directly with files on the Windows file-system. Note that all of these objects deal primarily with reading data as opposed to writing data.

 

HL7PlusFileAnalyzer Object Class (This object is flagged as Restricted and can only be used with the HL7PlusController object class).

 

Description: Use The HL7PlusFileAnalyzer to "analyze" a file containing HL7 messages. You can Count HL7 messages in a file, Map the message positions within the file, and retrieve messages from the file in HL7PlusMessage objects or Strings.


 

HL7PlusFileInfo Object Class (This object is flagged as Partially Restricted and contains some properties/methods which can only be used with the HL7PlusController object class).

 

Description: The HL7PlusFileInfo object is like a hybrid mix of a .Net FileInfo object and a HL7PlusFileAnalyzer object. It contains many useful properties and methods for general use with any types of files PLUS some properties and methods which are HL7 Specific.


 

HL7PlusFileWatcher Object Class (This object is flagged as Unrestricted and is free to use).

 

Description: The HL7PlusFileWatcher object does exactly what the name implies. You initialize the class with a path/file name and it will "watch" that file and raise events if the status changes. Like a date modified, file size, or Exists.


 

See Also: HL7PlusStringAnalyzer

HL7+ - Putting HL7 to work for you!
© 2018 HermeTech International
(a Division of TransWorld Scribes)