public class PersistenceDescriptorExtractor extends Object
| Constructor and Description |
|---|
PersistenceDescriptorExtractor() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getAsStream(org.jboss.shrinkwrap.api.Archive<?> archive)
Returns open stream of persistence.xml found in the archive, but
only if single file have been found.
|
public InputStream getAsStream(org.jboss.shrinkwrap.api.Archive<?> archive)
archive - Copyright © 2013 JBoss by Red Hat. All Rights Reserved.