public interface Descriptor
| Modifier and Type | Method and Description |
|---|---|
String |
exportAsString()
Exports the descriptor as a
String |
void |
exportTo(OutputStream output)
Export the descriptor to a given
OutputStream. |
String |
getDescriptorName()
Get the
Descriptor name. |
String getDescriptorName()
Descriptor name. The name can be specified by user at construction time, or predefined as a
default by type.String exportAsString() throws DescriptorExportException
StringDescriptorExportExceptionvoid exportTo(OutputStream output) throws DescriptorExportException, IllegalArgumentException
OutputStream. The OutputStream will not be flushed or closed by
this operation.output - Where to exportIllegalArgumentException - if output is nullDescriptorExportException - if problems exportingCopyright © 2017 JBoss by Red Hat. All rights reserved.