public static class DefaultDataSourceFactory.NamedDataSource extends Object implements DataSource
Constructor and Description |
---|
NamedDataSource(DataSource delegate,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
int |
hashCode() |
public NamedDataSource(DataSource delegate, String name)
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
public String getContentType()
getContentType
in interface DataSource
public String getName()
getName
in interface DataSource
Copyright © 2003–2020 Atlassian. All rights reserved.