Large columnar text file editor
First Claim
1. A method for loading and editing text files, the method comprising:
- identifying a text file as input;
determining whether the text file is a columnar text file;
responsive to a determination that the text file is columnar, retrieving data information for the text file;
identifying pre-defined cache settings having a defined number of cached pages and a maximum number of rows per cached page and a maximum number of columns per cached page; and
determining whether the data information retrieved fits within the pre-defined cache settings;
responsive to a determination that the data information retrieved fits within the pre-defined cache settings, determining whether the first row of the text file is a header row in a view;
responsive to a determination that the first row of the text file is not a header row, normalizing the text file;
responsive to a determination that the total number of rows is greater than the product of the defined number of cached pages multiplied by the maximum number of rows per cached page, selecting a virtual mode;
applying a cached page data load and display process;
applying a cached page data change and save process;
saving data changes back to the text file; and
selecting a view mode for load and edit operations of the text file.
0 Assignments
0 Petitions
Accused Products
Abstract
The different advantageous embodiments provide a method for loading and editing text files. A text file is identified as input. A determination is made as to whether the text file is a columnar text file. If the text file is columnar, data information is retrieved for the text file. Pre-defined cache settings are identified. A determination is made as to whether the data information retrieved fits within the pre-defined cache settings. If the data information retrieved fits within the pre-defined cache settings, a determination is made as to whether the first row of the text file is a header row in a view. If the first row of the text file is not a header row, the text file is normalized. A view mode is selected for load and edit operations of the text file.
-
Citations
14 Claims
-
1. A method for loading and editing text files, the method comprising:
-
identifying a text file as input; determining whether the text file is a columnar text file; responsive to a determination that the text file is columnar, retrieving data information for the text file; identifying pre-defined cache settings having a defined number of cached pages and a maximum number of rows per cached page and a maximum number of columns per cached page; and determining whether the data information retrieved fits within the pre-defined cache settings; responsive to a determination that the data information retrieved fits within the pre-defined cache settings, determining whether the first row of the text file is a header row in a view; responsive to a determination that the first row of the text file is not a header row, normalizing the text file; responsive to a determination that the total number of rows is greater than the product of the defined number of cached pages multiplied by the maximum number of rows per cached page, selecting a virtual mode; applying a cached page data load and display process; applying a cached page data change and save process; saving data changes back to the text file; and selecting a view mode for load and edit operations of the text file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for loading and editing text files, the system comprising:
-
a number of text files; a processor; a bus connected to the processor; a memory connected to the bus, the memory incapable of storing an entirety of the text files, the memory storing computer program code configured to execute, using the processor, an editor to identify a text file as input;
determine whether the text file is a columnar text file;responsive to a determination that the text file is columnar, retrieve data information for the text file;
identify pre-defined cache settings;
determine whether the data information retrieved fits within the pre-defined cache settings;
responsive to a determination that the data information retrieved fits within the pre-defined cache settings, determine whether the first row of the text file is a header row in a spreadsheet view;
responsive to a determination that the first row of the text file is not a header row, normalize the text file;
responsive to a determination that the total number of rows is greater than the product of the defined number of cached pages multiplied by the maximum number of rows per cached page, selecting a virtual mode, apply a cached page data load and display process, apply a cached page data change and save process, save data changes back to the text file, and select a mode for load and edit operations of the text file. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification