public abstract class AbstractDataSource extends Object implements DataSourceDefaultMethods
DataSource
implementations.APPLICATION_OCTET_STREAM, APPLICATION_XML, CONTENT_TYPE, TEXT_HTML, TEXT_PLAIN
Constructor and Description |
---|
AbstractDataSource() |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getName() |
void |
setContentType(String type) |
void |
setName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, getInputStream, getInputStream, getOutputStream, getOutputStream, length, wrap, wrap, writeTo
public AbstractDataSource()
public String getName()
getName
in interface DataSource
public void setName(String name)
setName
in interface DataSourceDefaultMethods
public String getContentType()
getContentType
in interface DataSource
public void setContentType(String type)
setContentType
in interface DataSourceDefaultMethods
Copyright © 2015–2020 Allen D. Ball. All rights reserved.