public interface Document
DocumentHandle class. Use that type instead.| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG_HIGH |
static int |
DEBUG_LOW |
static int |
DEBUG_MEDIUM |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String name,
Object val)
add non-Excel property
|
String |
getName()
Returns the name of this WorkBook
|
Object |
getProperty(String name)
get a non-Excel property
|
void |
reset()
Clears all values in a template WorkBook.
|
void |
setDebugLevel(int l)
Set the Debugging level.
|
void |
setName(String nm)
Sets the internal name of this WorkBookHandle.
|
void |
write(File file)
Writes the document to the given file in its native format.
|
void |
write(File file,
int format)
Writes the document to the given file in the requested format.
|
void |
write(OutputStream dest)
Writes the document to the given stream in its native format.
|
void |
write(OutputStream dest,
int format)
Writes the document to the given stream in the requested format.
|
static final int DEBUG_LOW
static final int DEBUG_MEDIUM
static final int DEBUG_HIGH
Object getProperty(String name)
void addProperty(String name, Object val)
properties - The properties to set.void setName(String nm)
WorkBook - Namevoid setDebugLevel(int l)
String getName()
void reset()
void write(OutputStream dest, int format) throws IOException
dest - the stream to which the document should be writtenformat - the constant representing the desired output formatIllegalArgumentException - if the given type code is invalidIOException - if an error occurs while writing to the streamvoid write(OutputStream dest) throws IOException
dest - the stream to which the document should be writtenIOException - if an error occurs while writing to the streamvoid write(File file, int format) throws IOException
file - the path to which the document should be writtenformat - the constant representing the desired output formatIllegalArgumentException - if the given type code is invalidIOException - if an error occurs while writing to the filevoid write(File file) throws IOException
file - the path to which the document should be writtenIOException - if an error occurs while writing to the streamCopyright © 2002–2019 Starter Inc.. All rights reserved.