|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.war.util.WebappStructureSerializer
public class WebappStructureSerializer
Serializes WebappStructure back and forth.
| Constructor Summary | |
|---|---|
WebappStructureSerializer()
Creates a new instance of the serializer. |
|
| Method Summary | |
|---|---|
WebappStructure |
fromXml(File file)
Reads the WebappStructure from the specified file. |
void |
toXml(WebappStructure webappStructure,
File targetFile)
Saves the WebappStructure to the specified file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebappStructureSerializer()
| Method Detail |
|---|
public WebappStructure fromXml(File file)
throws IOException
WebappStructure from the specified file.
file - the file containing the webapp structure
IOException - if an error occurred while reading the structure
public void toXml(WebappStructure webappStructure,
File targetFile)
throws IOException
WebappStructure to the specified file.
webappStructure - the structure to savetargetFile - the file to use to save the structure
IOException - if an error occurred while saving the webapp structure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||