com.atlassian.confluence.core
Class DefaultDataSourceFactory.NamedDataSource

java.lang.Object
  extended by 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


Constructor Summary
DefaultDataSourceFactory.NamedDataSource(javax.activation.DataSource delegate, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDataSourceFactory.NamedDataSource

public DefaultDataSourceFactory.NamedDataSource(javax.activation.DataSource delegate,
                                                java.lang.String name)
Method Detail

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.