public class TempFileDataSource extends Object implements DataSource
| Constructor and Description |
|---|
TempFileDataSource(String id,
File tmpDir,
boolean deleteOnExit) |
TempFileDataSource(String id,
String alias,
File tmpDir,
boolean deleteOnExit) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public TempFileDataSource(String id, String alias, File tmpDir, boolean deleteOnExit)
protected void finalize()
throws Throwable
public InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic String getContentType()
getContentType in interface DataSourcepublic String getName()
getName in interface DataSourceCopyright © 2024. All rights reserved.