| Modifier and Type | Interface and Description |
|---|---|
interface |
DescriptorExporter<T extends Descriptor>
An entity capable of exporting a
Descriptor to an OutputStream. |
interface |
DescriptorImporter<T extends Descriptor>
A type capable of importing a
Descriptor from some existing source like a stream of bytes or File |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Descriptor> |
Descriptors.create(Class<T> type)
Creates a new Descriptor instance; the predefined default descriptor name for this type will be used.
|
static <T extends Descriptor> |
Descriptors.create(Class<T> type,
String descriptorName)
Creates a new named
Descriptor instance. |
static <T extends Descriptor> |
Descriptors.importAs(Class<T> type)
Returns a new
DescriptorImporter instance, ready to import as a new Descriptor instance of the
given type |
static <T extends Descriptor> |
Descriptors.importAs(Class<T> type,
String descriptorName)
Returns a new named
DescriptorImporter instance, ready to import as a new Descriptor instance of
the given type. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.