|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.maven.plugin.amp.util.AmpStructureSerializer
public class AmpStructureSerializer
Serializes AmpStructure back and forth.
| Constructor Summary | |
|---|---|
AmpStructureSerializer()
Creates a new instance of the serializer. |
|
| Method Summary | |
|---|---|
AmpStructure |
fromXml(File file)
Reads the AmpStructure from the specified file. |
void |
toXml(AmpStructure webappStructure,
File targetFile)
Saves the AmpStructure 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 AmpStructureSerializer()
| Method Detail |
|---|
public AmpStructure fromXml(File file)
throws IOException
AmpStructure from the specified file.
file - the file containing the webapp structure
IOException - if an error occured while reading the structure
public void toXml(AmpStructure webappStructure,
File targetFile)
throws IOException
AmpStructure to the specified file.
webappStructure - the structure to savetargetFile - the file to use to save the structure
IOException - if an error occured while saving the webapp structure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||