public static class DefaultDataSourceFactory.NamedDataSource
extends java.lang.Object
implements javax.activation.DataSource
Constructor and Description |
---|
DefaultDataSourceFactory.NamedDataSource(javax.activation.DataSource delegate,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
java.io.OutputStream |
getOutputStream() |
int |
hashCode() |
public DefaultDataSourceFactory.NamedDataSource(javax.activation.DataSource delegate, java.lang.String name)
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.activation.DataSource
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface javax.activation.DataSource
java.io.IOException
public java.lang.String getContentType()
getContentType
in interface javax.activation.DataSource
public java.lang.String getName()
getName
in interface javax.activation.DataSource
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.