Betty 1.1
es.us.isa.utils.FMWriter Class Reference

List of all members.

Public Member Functions

void saveFM (VariabilityModel fm, String path) throws Exception
void saveFM (FAMAAttributedFeatureModel afm, String path)
void saveProducts (Collection< Product > products, String path) throws IOException

Detailed Description

This is a util class, it allows to save feature models in different formats depending on the extension used


Member Function Documentation

void es.us.isa.utils.FMWriter.saveFM ( VariabilityModel  fm,
String  path 
) throws Exception

this class save a fm into the desired format described by the extension of the path

Parameters:
fmthe feature model to be saved
pathThe path to be used
Exceptions:
Exception
void es.us.isa.utils.FMWriter.saveFM ( FAMAAttributedFeatureModel  afm,
String  path 
)

This class save an attributed feature model in textual format (.afm)

Parameters:
afmthe attributed feature model to be saved.
pathThe path to be used.
void es.us.isa.utils.FMWriter.saveProducts ( Collection< Product >  products,
String  path 
) throws IOException

This method will save a set of products into a path and csv format

Parameters:
productsthe products to be saved
pathThe path were the products are going to be saved
Exceptions:
IOException

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables