Package com.structurizr.io
Interface WorkspaceWriter
- All Known Implementing Classes:
JsonWriter
public interface WorkspaceWriter
-
Method Summary
Modifier and Type Method Description void
write(com.structurizr.Workspace workspace, java.io.Writer writer)
Writes a workspace definition to the specified Writer object.
-
Method Details
-
write
void write(com.structurizr.Workspace workspace, java.io.Writer writer) throws WorkspaceWriterExceptionWrites a workspace definition to the specified Writer object.- Parameters:
workspace
- the Workspace object to writewriter
- the Writer object to write the workspace to- Throws:
WorkspaceWriterException
- if something goes wrong
-