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 java.lang.Object
- implements javax.activation.DataSource
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DefaultDataSourceFactory.NamedDataSource
public DefaultDataSourceFactory.NamedDataSource(javax.activation.DataSource delegate,
java.lang.String name)
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in interface javax.activation.DataSource
- Throws:
java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream
in interface javax.activation.DataSource
- Throws:
java.io.IOException
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interface javax.activation.DataSource
getName
public java.lang.String getName()
- Specified by:
getName
in interface javax.activation.DataSource
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.