package com.avg.zaap.crashlibrary.offline.publisher.metadata;

import android.support.annotation.NonNull;

import com.avg.zaap.crashlibrary.ReportData;

import java.io.File;

/**
 * This interface denotes the common behavior for the
 * <p/>
 * Created by marek.osvald on 28.7.2016.
 */
public interface ICrashMetadataReader {

    /**
     * Reads metadata from a file.
     *
     * @param metadataFile file to read the metadata for
     * @return crash report data structure
     */
    ReportData readMetadata(@NonNull File metadataFile);

}
