Package com.atlassian.confluence.core
Class DefaultDataSourceFactory.NamedDataSource
- java.lang.Object
-
- com.atlassian.confluence.core.DefaultDataSourceFactory.NamedDataSource
-
- All Implemented Interfaces:
javax.activation.DataSource
- Enclosing class:
- DefaultDataSourceFactory
public static class DefaultDataSourceFactory.NamedDataSource extends Object implements javax.activation.DataSource
-
-
Constructor Summary
Constructors Constructor Description NamedDataSource(javax.activation.DataSource delegate, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getContentType()
InputStream
getInputStream()
String
getName()
OutputStream
getOutputStream()
int
hashCode()
-
-
-
Constructor Detail
-
NamedDataSource
public NamedDataSource(javax.activation.DataSource delegate, String name)
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfacejavax.activation.DataSource
-
getName
public String getName()
- Specified by:
getName
in interfacejavax.activation.DataSource
-
-