CN104461518A - A Method for Managing Java Program System Configuration Files - Google Patents
A Method for Managing Java Program System Configuration Files Download PDFInfo
- Publication number
- CN104461518A CN104461518A CN201410680909.6A CN201410680909A CN104461518A CN 104461518 A CN104461518 A CN 104461518A CN 201410680909 A CN201410680909 A CN 201410680909A CN 104461518 A CN104461518 A CN 104461518A
- Authority
- CN
- China
- Prior art keywords
- configuration files
- configuration file
- managing
- java program
- program system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
本发明涉及软件技术开发技术领域,具体涉及一种管理java程序系统配置文件的方法。本发明通过读取、组装、呈现、管理把配置文件组装成树形结构在前台页面进行展示与管理;本发明解决了复杂业务系统系统配置文件的易用性等问题;可以广泛应用于java语言的软件开发。
The present invention relates to the technical field of software technology development, and in particular to a method for managing a Java program system configuration file. The present invention assembles the configuration file into a tree structure through reading, assembling, presenting and managing, and displays and manages it on a front page; the present invention solves the problems of the ease of use of the configuration file of a complex business system; and can be widely used in the software development of the Java language.
Description
技术领域technical field
本发明涉及软件技术开发技术领域,具体涉及一种管理java程序系统配置文件的方法。The invention relates to the technical field of software technology development, in particular to a method for managing java program system configuration files.
背景技术Background technique
目前的业务系统越来越复杂从而相应的系统配置文件(.properties)内容也会越来越多,如果还是用传统的文本编辑的方式来打开配置文件进行管理与维护,就显得非常的不直观,而且操作极为不便,以至于软件的易用性降低影响了用户体验度,而且还会影响整个软件开发的效率。The current business system is becoming more and more complex, so the corresponding system configuration files (.properties) will have more and more content. If you still use the traditional text editing method to open the configuration files for management and maintenance, it will be very unintuitive. , and the operation is extremely inconvenient, so that the ease of use of the software affects the user experience, and also affects the efficiency of the entire software development.
发明内容Contents of the invention
本发明解决的技术问题在于提供一种管理java程序系统配置文件的方法,可以有效解决利用传统的以文本方式来管理配置文件所带来的问题。The technical problem to be solved by the present invention is to provide a method for managing java program system configuration files, which can effectively solve the problems caused by using the traditional text mode to manage configuration files.
本发明解决上述问题的技术方案是:The technical scheme that the present invention solves the above problems is:
通过读取、组装、呈现、管理把配置文件组装成树形结构在前台页面进行展示与管理;By reading, assembling, presenting, and managing, the configuration files are assembled into a tree structure for display and management on the front page;
所述的读取是通过Action或Servlet加载读取配置文件;The reading is to load and read configuration files through Action or Servlet;
所述的组装是把读取到的相关配置文件进行封装处理;The assembly is to package the read related configuration files;
所述的呈现是把封装好的树形结构在页在显示;The presentation is to display the encapsulated tree structure on the page;
所述的管理是对配置文件进行增删改操作。The management described above is to add, delete, and modify configuration files.
所述的方法具体包括以下步骤:Described method specifically comprises the following steps:
第1步、通过后台程序Action或Servlet获取配置文件的所在路径并读取配置文件的内容;Step 1. Obtain the path of the configuration file through the background program Action or Servlet and read the content of the configuration file;
第2步、获取文件内容后把配置文件的key与value进行解析处理,然后组装成各个树节点;Step 2: After obtaining the file content, analyze the key and value of the configuration file, and then assemble them into each tree node;
第3步、将封装好的树形结构利用jsp在前台展示;Step 3: Use jsp to display the packaged tree structure in the foreground;
第4步、根据需要对相关节点进行增加、修改、删除等操作。Step 4, perform operations such as adding, modifying, and deleting relevant nodes as required.
本发明的有益效果是:通过树形方式来管理java配置文件,非常清晰且直观,简捷又方便,不但增强了用户体验度而且有效地提高了软件开发的效率。The beneficial effect of the present invention is that the java configuration file is managed in a tree form, which is very clear and intuitive, simple and convenient, not only enhances user experience but also effectively improves the efficiency of software development.
附图说明Description of drawings
下面结合附图对本发明进一步说明:The present invention is further described below in conjunction with accompanying drawing:
图1是本发明流程图;Fig. 1 is a flowchart of the present invention;
图2是本发明的实际效果图。Fig. 2 is the actual effect drawing of the present invention.
具体实施方式Detailed ways
如图1、2所示,本发明通过一种以树形方式管理java程序系统配置文件的方法,具体步骤如下:As shown in Figures 1 and 2, the present invention manages a method of java program system configuration files in a tree form, and the specific steps are as follows:
第1步、通过后台程序Action或Servlet获取配置文件的所在路径并读取配置文件的内容;Step 1. Obtain the path of the configuration file through the background program Action or Servlet and read the content of the configuration file;
第2步、获取文件内容后把配置文件的key与value进行解析处理,然后组装成各个树节点;Step 2: After obtaining the file content, analyze the key and value of the configuration file, and then assemble them into each tree node;
第3步、将封装好的树形结构利用jsp在前台展示;Step 3: Use jsp to display the packaged tree structure in the foreground;
第4步、根据需要对相关节点进行增加、修改、删除等操作。Step 4, perform operations such as adding, modifying, and deleting relevant nodes as required.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410680909.6A CN104461518A (en) | 2014-11-23 | 2014-11-23 | A Method for Managing Java Program System Configuration Files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410680909.6A CN104461518A (en) | 2014-11-23 | 2014-11-23 | A Method for Managing Java Program System Configuration Files |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104461518A true CN104461518A (en) | 2015-03-25 |
Family
ID=52907629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410680909.6A Pending CN104461518A (en) | 2014-11-23 | 2014-11-23 | A Method for Managing Java Program System Configuration Files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461518A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035162A (en) * | 2020-09-02 | 2020-12-04 | 中国银行股份有限公司 | Configuration file batch modification method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101169716A (en) * | 2007-11-30 | 2008-04-30 | 清华大学 | A Modeling and Maintenance Method of Simulation Process Information Based on Product Structure Tree |
US20110283273A1 (en) * | 2004-07-09 | 2011-11-17 | Quest Software, Inc. | Systems and methods for managing policies on a computer |
CN102508672A (en) * | 2011-12-02 | 2012-06-20 | 方正国际软件有限公司 | Method for graphical configuration and execution of java |
CN102622224A (en) * | 2012-02-24 | 2012-08-01 | 浙江吉利汽车研究院有限公司 | Method for achieving tree-like control piece with search function in Windchill system |
-
2014
- 2014-11-23 CN CN201410680909.6A patent/CN104461518A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110283273A1 (en) * | 2004-07-09 | 2011-11-17 | Quest Software, Inc. | Systems and methods for managing policies on a computer |
CN101169716A (en) * | 2007-11-30 | 2008-04-30 | 清华大学 | A Modeling and Maintenance Method of Simulation Process Information Based on Product Structure Tree |
CN102508672A (en) * | 2011-12-02 | 2012-06-20 | 方正国际软件有限公司 | Method for graphical configuration and execution of java |
CN102622224A (en) * | 2012-02-24 | 2012-08-01 | 浙江吉利汽车研究院有限公司 | Method for achieving tree-like control piece with search function in Windchill system |
Non-Patent Citations (1)
Title |
---|
王明明: "基于J2EE的动态配置开发平台的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035162A (en) * | 2020-09-02 | 2020-12-04 | 中国银行股份有限公司 | Configuration file batch modification method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105786526B (en) | A Web-based efficient flowchart drawing system and method | |
WO2017028611A1 (en) | Form implementation method and apparatus | |
CN102799430B (en) | Mobile internet business-oriented off-line visual business development generator | |
CN108352003A (en) | Single-select or multi-select data rendering via collaborative database services | |
CN108228253A (en) | A kind of APP construction methods and system | |
CN104391693A (en) | A way to implement a multi-select drop-down list box | |
CN107766042A (en) | A kind of visual data manager and device of the model file based on CSAR | |
US9350561B1 (en) | Visualizing the flow of resources in an allocation model | |
JP2015535370A5 (en) | ||
CN108170416A (en) | A kind of method and system for building web front-end | |
CN103631590B (en) | The edit methods of automatic test script | |
CN108108986A (en) | A kind of design method of CRM system, device and electronic equipment | |
CN105205845A (en) | Webpage animation rendering method and device | |
CN107463413A (en) | A kind of nodal information display methods and device | |
CN107943455A (en) | A kind of list rendering system based on JSON data formats | |
US9280361B2 (en) | Methods and systems for a real time transformation of declarative model and layout into interactive, digital, multi device forms | |
US20120330859A1 (en) | Interactive business process modeling and simulation | |
CN103425490B (en) | Based on the management method running object data in crm system | |
CN105447068A (en) | SAP system based dynamic report generation method and system | |
CN106484413A (en) | Document editor and document edit method | |
CN104461518A (en) | A Method for Managing Java Program System Configuration Files | |
CN109814857B (en) | Method and device for customizing primitive linkage | |
CN104407853A (en) | A Method to Realize the Simultaneous Editing of Multiple Rows of TABLE | |
TW201335772A (en) | Editing system and method | |
Xu et al. | Research on Smartphone’s UI Animation Design |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150325 |
|
WD01 | Invention patent application deemed withdrawn after publication |