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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeToFile
(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:BaseWriter
Base method for writing collection in file. You should provide Address-Value interpretation for normal writing.- Specified by:
writeToFile
in 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.
-