public class ExcelDocument extends Object implements Closeable
ExcelReader
,
ExcelWriter
Modifier and Type | Class and Description |
---|---|
static class |
ExcelDocument.ProviderType |
Constructor and Description |
---|
ExcelDocument() |
ExcelDocument(ExcelDocument.ProviderType providerType) |
Modifier and Type | Method and Description |
---|---|
void |
close()
The method can be called when this document can be discarded, but it will be called automatically in the finalize() method.
|
protected void |
finalize() |
File |
getFile() |
ExcelDocument.ProviderType |
getProviderType() |
String[] |
getSheetNames() |
boolean |
isClosed() |
ExcelDocument |
open(File file) |
ExcelDocument |
open(InputStream inputStream) |
ExcelDocument |
save(File file) |
ExcelDocument |
save(OutputStream outputStream) |
public ExcelDocument()
public ExcelDocument(ExcelDocument.ProviderType providerType)
public ExcelDocument.ProviderType getProviderType()
public ExcelDocument open(InputStream inputStream)
public ExcelDocument open(File file)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public boolean isClosed()
protected void finalize() throws Throwable
public ExcelDocument save(OutputStream outputStream)
public ExcelDocument save(File file)
public String[] getSheetNames()
public File getFile()
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.