com.atlassian.confluence.core
Class DefaultDataSourceFactory.NamedDataSource

java.lang.Object
  extended by com.atlassian.confluence.core.DefaultDataSourceFactory.NamedDataSource
All Implemented Interfaces:
DataSource
Enclosing class:
DefaultDataSourceFactory

public static class DefaultDataSourceFactory.NamedDataSource
extends Object
implements DataSource


Constructor Summary
DefaultDataSourceFactory.NamedDataSource(DataSource delegate, String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getContentType()
           
 InputStream getInputStream()
           
 String getName()
           
 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(DataSource delegate,
                                                String name)
Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface DataSource
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface DataSource
Throws:
IOException

getContentType

public String getContentType()
Specified by:
getContentType in interface DataSource

getName

public String getName()
Specified by:
getName in interface DataSource

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Confluence is developed by Atlassian.