public class ServiceProviderAsset extends Object implements Asset
Constructor and Description |
---|
ServiceProviderAsset(Class<?>... providerImpls)
Creates a newline separated text file off the providerImpls class names.
|
ServiceProviderAsset(String... providerImpls)
Creates a newline separated text file off the providerImpls class names.
|
public ServiceProviderAsset(Class<?>... providerImpls)
providerImpls
- The Classes to useIllegalArgumentException
- if providerImpls is null or contain null valuespublic ServiceProviderAsset(String... providerImpls)
providerImpls
- The class names to useIllegalArgumentException
- if providerImpls is null or contain null valuespublic InputStream openStream()
Asset
Asset
is to be viewed as a logical path (placeholder/directory) only with no
backing content.openStream
in interface Asset
InputStream
for each call, or null if this type simply represents a logical path
within an Archive
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.