Interface ThingFileGenerator
- All Known Implementing Classes:
AbstractThingFileGenerator
@NonNullByDefault
public interface ThingFileGenerator
ThingFileGenerator
is the interface to implement by any file generator for Thing
object.- Author:
- Laurent Garnier - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateFileFormat
(OutputStream out, List<Thing> things, boolean hideDefaultParameters) Generate the file format for a sorted list of things.Returns the format of the file.
-
Method Details
-
getFileFormatGenerator
String getFileFormatGenerator()Returns the format of the file.- Returns:
- the file format
-
generateFileFormat
Generate the file format for a sorted list of things.- Parameters:
out
- the output stream to write the generated syntax tothings
- the thingshideDefaultParameters
- true to hide the configuration parameters having the default value
-