com.adobe.granite.crx2oak.profile.save.ProfileWriter Maven / Gradle / Ivy
The newest version!
/*************************************************************************
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2016 Adobe
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe and its suppliers, if any. The intellectual
* and technical concepts contained herein are proprietary to Adobe
* and its suppliers and are protected by all applicable intellectual
* property laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe.
**************************************************************************/
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