| Constructor and Description |
|---|
ImpExCsvFile() |
ImpExCsvFile(java.lang.String fileName)
Creates a new
ImpExCsvFile instance with a corresponding file named fileName. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the
OutputStream associated with this instance. |
java.io.File |
getFile()
Returns the
File object associated with this instance. |
java.lang.String |
getFileExtension()
Returns the file extension of the file associated with this instance.
|
java.lang.String |
getMimeType()
Returns the corresponding mime type for the file associated with this instance.
|
java.io.OutputStream |
getOutputStream()
Returns the
OutputStream associated with this instance. |
public ImpExCsvFile()
throws java.io.IOException
java.io.IOExceptionpublic ImpExCsvFile(java.lang.String fileName)
throws java.io.IOException
ImpExCsvFile instance with a corresponding file named fileName.fileName - name of the file associated with this ImpExCsvFile instance.java.io.IOException - if any errors occur while opening files and streams associated with this ImpExCsvFile
instance.public java.io.OutputStream getOutputStream()
ImpExFileOutputStream associated with this instance.getOutputStream in interface ImpExFileOutputStream associated with this instancepublic void close()
throws java.io.IOException
ImpExFileOutputStream associated with this instance.public java.io.File getFile()
ImpExFileFile object associated with this instance.public java.lang.String getMimeType()
ImpExFilegetMimeType in interface ImpExFilepublic java.lang.String getFileExtension()
ImpExFilegetFileExtension in interface ImpExFileCopyright © 2018 SAP SE. All Rights Reserved.