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