com.adobe.granite.crx2oak.profile.save.ProfileWriter Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2016 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.adobe.granite.crx2oak.profile.save;
import com.adobe.granite.crx2oak.profile.model.template.RawProfileTemplate;
/**
* A profile writer is able to transform {@linkplain RawProfileTemplate} to a archival storage format.
*/
public interface ProfileWriter {
/**
* Write raw profile template. In case of fatal I/O exception
* {@linkplain ProfileWriteException} might be thrown.
*
* @param rawProfileTemplateToWrite the profile that will be saved
* @param profileLocation the non null abstract profile location (might be a path, name etc, url etc)
* @throws ProfileWriteException in case of I/O problem of implementation or fatal error
*/
void write(RawProfileTemplate rawProfileTemplateToWrite, String profileLocation) throws ProfileWriteException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy