T
- element-type in Generator
and in NamedProvider
.public class NamedProviderOutputter<T> extends Object
NamedProvider
into a directory using the names of each entity for
a corresponding generated file.Constructor and Description |
---|
NamedProviderOutputter(NamedProvider<T> provider,
Generator<T> generator,
OutputterChecked outputter) |
Modifier and Type | Method and Description |
---|---|
void |
output(String outputName,
boolean suppressSubdirectory)
Outputs the entities using a particular output-name.
|
public NamedProviderOutputter(NamedProvider<T> provider, Generator<T> generator, OutputterChecked outputter)
public void output(String outputName, boolean suppressSubdirectory) throws OutputWriteFailedException
outputName
- the output-name to use, which also determines the subdirectory name if it
is not suppressed.suppressSubdirectory
- if true, a separate subdirectory is not created, and rather the
outputs occur in the parent directory.OutputWriteFailedException
- if any output cannot be written.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.