To step file information extraction algorithm

Task Description: Given a file step, extracting the character string information file, the file organization structure of the data model described. Forming abstract data structure, stored in a computer database. And it can show up in accordance with these data organized structure.

Information extraction results are described:

  1 data structure:

    In the form of key-value key file description information extracting step and organize.

    Specifically, the technology used in the java javabean which, in a nested fashion to achieve this class data structure.

  2 shows the results:

    Javabean to convert json format and print it out, see conversion results are correct.

  3 Storage:

    Examples of the javabean mysql mapping of objects in a database table.

 

Information extraction methods are described: the team to discuss, prepare a set of algorithms to achieve the extraction of step file.

Information extraction algorithm to step file:

  Input: step file

  Output: key data structure (dictionary, or Hashtable or HashMap, javabean or objects) and printout format json

  1 

 

Guess you like

Origin www.cnblogs.com/Lin-Yi/p/11286566.html