|
|||||||||||
| 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
Serializes WebappStructure back and forth.
| Constructor Summary | |
WebappStructureSerializer()
Creates a new instance of the serializer. |
|
| Method Summary | |
WebappStructure |
fromXml(java.io.File file)
Reads the WebappStructure from the specified file. |
void |
toXml(WebappStructure webappStructure,
java.io.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(java.io.File file)
throws java.io.IOException
WebappStructure from the specified file.
file - the file containing the webapp structure
java.io.IOException - if an error occurred while reading the structure
public void toXml(WebappStructure webappStructure,
java.io.File targetFile)
throws java.io.IOException
WebappStructure to the specified file.
webappStructure - the structure to savetargetFile - the file to use to save the structure
java.io.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 | ||||||||||