Class DefaultImageImporter
java.lang.Object
com.structurizr.importer.documentation.DefaultImageImporter
- All Implemented Interfaces:
DocumentationImporter
This implementation scans a given directory and automatically imports all Markdown or AsciiDoc
files in that directory.
- Each file must represent a separate documentation section.
- The second level heading ("## Section Title" in Markdown and "== Section Title" in AsciiDoc) will be used as the section title.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidimportDocumentation(com.structurizr.documentation.Documentable documentable, File path) Imports one or more png/jpg/jpeg/gif images from the specified path.
-
Constructor Details
-
DefaultImageImporter
public DefaultImageImporter()
-
-
Method Details
-
importDocumentation
Imports one or more png/jpg/jpeg/gif images from the specified path.- Specified by:
importDocumentationin interfaceDocumentationImporter- Parameters:
documentable- the item that documentation should be associated withpath- the path to import images from
-