Extensible framework for parsing varying formats of print stream data
View Patent ↗A method of parsing print stream data including the steps of intercepting a data file from at least a portion of the print stream data, reading at least a portion of the data file and determining if said data file is of a format having subset formats.
1. A method of parsing print stream data, comprising:
intercepting a data file from at least a portion of the print stream data;
reading at least a portion of said data file;
determining if said data file is of a format having subset formats, if said data file is of a format having subset formats that said data file is defined as a data file that may be recognized;
determining if the format of said data file is one of recognized and not recognized;
issuing an affirmative answer if said format is recognized;
issuing negative answer if said format is not recognized; and
issuing an answer which indicates that said format may be recognized if said format may be recognized.
2. The method of claim 1 , further comprising:
receiving a command to parse said data file;
parsing said data file; and
producing an extracted file.
3. The method of claim 2 , further comprising returning said extracted file.
4. The method of claim 2 , wherein said extracted file is in an XML format.
5. The method of claim 1 , further comprising spooling at least a portion of the print stream data to form said data file.