Package net.officefloor.model.generate
Interface ModelContext
-
- All Known Implementing Classes:
FileSystemModelContext
public interface ModelContextContext for generating a Model.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelFilecreateModelFile(java.lang.String relativeLocation, java.io.InputStream contents)Creates theModelFilewithin thisModelContext.
-
-
-
Method Detail
-
createModelFile
ModelFile createModelFile(java.lang.String relativeLocation, java.io.InputStream contents) throws java.lang.Exception
Creates theModelFilewithin thisModelContext.- Parameters:
relativeLocation- Relative location within thisModelContextto create theModelFile.contents- Contents to be written to theModelFile.- Returns:
- Created
ModelFile. - Throws:
java.lang.Exception- If fails to create theModelFile.
-
-