|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.embedded.dsl.InputStreamDescriptor
public class InputStreamDescriptor

An InputStream descriptor. Note, that this class will close the passed InputStream once one of the export methods have been called.
| Constructor Summary | |
|---|---|
InputStreamDescriptor(String name,
InputStream is)
Create an InputStream Descriptor. |
|
| Method Summary | |
|---|---|
String |
exportAsString()
|
void |
exportTo(OutputStream output)
|
String |
getDescriptorName()
Get the name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputStreamDescriptor(String name,
InputStream is)
name - The descriptor nameis - The input stream| Method Detail |
|---|
public String getDescriptorName()
getDescriptorName in interface org.jboss.shrinkwrap.descriptor.api.Descriptor
public String exportAsString()
throws org.jboss.shrinkwrap.descriptor.api.DescriptorExportException
exportAsString in interface org.jboss.shrinkwrap.descriptor.api.Descriptororg.jboss.shrinkwrap.descriptor.api.DescriptorExportException
public void exportTo(OutputStream output)
throws org.jboss.shrinkwrap.descriptor.api.DescriptorExportException,
IllegalArgumentException
exportTo in interface org.jboss.shrinkwrap.descriptor.api.Descriptororg.jboss.shrinkwrap.descriptor.api.DescriptorExportException
IllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||