Package com.structurizr.io.json
Class EncryptedJsonWriter
java.lang.Object
com.structurizr.io.json.EncryptedJsonWriter
public final class EncryptedJsonWriter
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description EncryptedJsonWriter(boolean indentOutput) -
Method Summary
Modifier and Type Method Description voidwrite(EncryptedWorkspace workspace, java.io.Writer writer)Writes an encrypted workspace definition as a JSON string to the specified Writer object.
-
Constructor Details
-
EncryptedJsonWriter
public EncryptedJsonWriter(boolean indentOutput)
-
-
Method Details
-
write
public void write(EncryptedWorkspace workspace, java.io.Writer writer) throws WorkspaceWriterExceptionWrites an encrypted workspace definition as a JSON string 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
-