public class PathDataSource extends Object implements DateDataSource
| Constructor and Description |
|---|
PathDataSource(Path path,
String type,
Instant lastModified) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getContentLength() |
String |
getContentType() |
InputStream |
getInputStream() |
Instant |
getLastModified() |
String |
getName() |
OutputStream |
getOutputStream() |
Path |
getPath() |
String |
toString() |
public String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic Instant getLastModified()
getLastModified in interface DateDataSourcepublic Long getContentLength()
getContentLength in interface DateDataSourcepublic Path getPath()
Copyright © 2014–2019 Uniklinik RWTH Aachen. All rights reserved.