Package fileLogic
Class XMLWriter
java.lang.Object
fileLogic.XMLWriter
- All Implemented Interfaces:
BaseWriter
XML Writer class for
Saver class. It writes XML file by given path and consume
collection of paths and values, transforming it into XML file.- Since:
- 1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteToFile(String path, LinkedHashMap<String[], String> values) Base method for writing collection in file.
-
Constructor Details
-
XMLWriter
public XMLWriter()
-
-
Method Details
-
writeToFile
Description copied from interface:BaseWriterBase method for writing collection in file. You should provide Address-Value interpretation for normal writing.- Specified by:
writeToFilein interfaceBaseWriter- Parameters:
path- Full path to file. If file will don't exist, method will try to create it automatically.values- Address-value interpretation of Collection.
-