package com.avg.zaap.crashlibrary.core.writer;

/**
 * Write data to file.
 * <p>
 * Created by marek.osvald on 22. 4. 2016.
 */
public interface IDataWriter {

    /**
     * Write data to file.
     *
     * @param path absolute path to file
     * @param data data to write
     * @throws DataWriterException thrown when some error during write occurs
     */
    void write(String path, String data) throws DataWriterException;

}
