Programmatic editing of text files

US9298480B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9298480-B2
Application numberUS-39400809-A
CountryUS
Kind codeB2
Filing dateFeb 26, 2009
Priority dateFeb 26, 2009
Publication dateMar 29, 2016
Grant dateMar 29, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A file format corresponding to a text file is identified. The text file is parsed into a tree structure with the corresponding file format. The tree structure is modified with an Application Program Interface (API) module. The text file is bidirectionally updated to reflect the modified tree structure while preserving the file format of the text file. The file format includes instructions on how each entry in the text file is to be mapped into the tree structure.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: identifying, by a processing device, a file format corresponding to a text file, wherein the file format comprises mapping instructions to map one or more entries of the text file into a tree structure; parsing by the processing device, in view of the file format, the text file into the tree structure; and bidirectionally updating, by the processing device, the text file and the tree structure, wherein modifications to the tree structure are reflected by corresponding updates to the text file, and wherein modifications to the text file are reflected by corresponding updates to the tree structure, and wherein original formatting details of the text file are preserved. 2. The method of claim 1 wherein the one or more entries of the text file are classified by the mapping instructions. 3. The method of claim 1 wherein the tree structure is modified in response to input to a command line tool. 4. The method of claim 1 wherein the text file is modified in response to input to a command line tool. 5. The method of claim 1 wherein a node of the tree structure comprises a sibling field, a label field, a value field, and a child field. 6. The method of claim 1 further comprising: synchronously mapping between the text file and the tree structure. 7. The method of claim 6 wherein the mapping comprises: parsing the text file with a get function to produce the tree structure; and transforming the tree structure back into the text file with a put and create function. 8. A non-transitory computer-readable storage medium comprising instructions to cause a processing device to: identify, by the processing device, a file format corresponding to a text file, wherein the file format comprises mapping instructions to map one or more entries of the text file into a tree structure; parse by the processing device, in view of the file format, the text file into the tree structure; and bidirectionally update, by the processing device, the text file and the tree structure, wherein modifications to the tree structure are reflected by corresponding updates to the text file, and wherein modifications to the text file are reflected by corresponding updates to the tree structure, and wherein original formatting details of the text file are preserved. 9. The non-transitory computer-readable storage medium of claim 8 wherein the one or more entries of the text file are classified by the mapping instructions. 10. The non-transitory computer-readable storage medium of claim 8 wherein the tree structure is modified in response to input to a command line tool. 11. The non-transitory computer-readable storage medium of claim 8 wherein the text file is modified in response to input to a command line tool. 12. The non-transitory computer-readable storage medium of claim 8 wherein a node of the tree structure comprises a sibling field, a label field, a value field, and a child field. 13. The non-transitory computer-readable storage medium of claim 8 wherein the processing device further to: synchronously map between the text file and the tree structure. 14. The non-transitory computer-readable storage medium of claim 13 wherein to synchronously map comprises the processing device to: parse the text file with a get function to produce the tree structure; and transform the tree structure back into the text file with a put and create function. 15. A system comprising: a memory to store a text file and a library of file formats, wherein each file format in the library comprises mapping instructions on how each entry in the text file is to be mapped into a tree structure; and a processing device operatively coupled to the memory, the processing device to: identify a file format corresponding to the text file, parse, in view of the file format, the text file into the tree structure, and bidirectionally update the text file and the tree structure, wherein modifications to the tree structure are reflected by corresponding updates to the text file, and wherein modifications to the text file are reflected by corresponding updates to the tree structure, and wherein original formatting details of the text file are preserved. 16. The system of claim 15 wherein the processing device is also to: synchronously map between the text file and a tree structure. 17. The system of claim 15 wherein the tree structure is modified in response to input to a command line tool. 18. The system of claim 15 wherein the one or more entries of the text file are classified by the mapping instructions. 19. The system of claim 15 wherein a node of the tree structure comprises a sibling field, a label field, a value field, and a child field. 20. The system of claim 15 wherein the processing device is to parse via a get function, and wherein the processing device is to update via a put and create function that transforms the tree structure back into the text file.

Assignees

Inventors

Classifications

  • Configuring for program initiating, e.g. using registry, configuration files · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9298480B2 cover?
A file format corresponding to a text file is identified. The text file is parsed into a tree structure with the corresponding file format. The tree structure is modified with an Application Program Interface (API) module. The text file is bidirectionally updated to reflect the modified tree structure while preserving the file format of the text file. The file format includes instructions on ho…
Who is the assignee on this patent?
Lutterkort David, Red Hat Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/44505. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 29 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).