📄 xmlhandler.java
字号:
//---------------------------------------------------------------------------------// $Id: XMLHandler.java,v 1.2 2003/01/16 01:47:40 javanovic Exp $// $Source: /cvsroot/strutsgenerator/StrutsGenerator/src/com/javanovic/karapansapi/xml/XMLHandler.java,v $//// Copyright (c) 2001 IT+ (http://opensource.itplus.dk)// This program is released under the GNU General Public License version 2 or later// All rights reserved//---------------------------------------------------------------------------------package com.javanovic.karapansapi.xml;import java.io.*;/** * Defines an interface for loading and saving an StrutsCreator object */public interface XMLHandler { /** * Create a StrutsCreator XML tree based on a file name * * @param filename Name of the file * @return StrutsCreator-object * @exception FileNotFoundException Thrown if the file can not be found * @exception XMLException Thrown if there were an error during the loading */ public Strutscreator load(String filename) throws FileNotFoundException, XMLException; /** * Store a Strutscreator XML tree to a file * * @param filename Name of the file * @param tree The Strutscreator tree that should be saved * @exception IOException Thrown if the file can not be created * @exception XMLException Thrown if there were an error during the saving */ public void save(String filename, Strutscreator tree) throws IOException, XMLException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -