public class OdsFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OdsFactory.FileState
Deprecated.
use ??
|
| Modifier and Type | Method and Description |
|---|---|
OdsFactory |
addNamespaceByPrefix(Map<String,String> additionalNamespaceByPrefix)
Deprecated.
|
static OdsFactoryBuilder |
builder(Logger logger,
Locale locale)
Create an ods factory builder
|
static OdsFactory |
create() |
static OdsFactory |
create(Logger logger,
Locale locale)
create an ods factory
|
AnonymousOdsFileWriter |
createWriter() |
NamedOdsFileWriter |
createWriter(File file)
Create a new ODS file writer from a document.
|
NamedOdsFileWriter |
createWriter(String filename)
Create a new ODS file writer from a document.
|
OdsFileWriterAdapter |
createWriterAdapter(File file)
Create an adapter for a writer.
|
OdsFactory |
dataStyles(DataStyles ds)
Deprecated.
use OdsFactory.builder
|
OdsFactory |
metaElement(MetaElement metaElement)
Deprecated.
use OdsFactory.builder
|
OdsFactory |
noLibreOfficeMode()
Deprecated.
use OdsFactory.builder
|
public static OdsFactoryBuilder builder(Logger logger, Locale locale)
logger - the loggerlocale - the localepublic static OdsFactory create()
public static OdsFactory create(Logger logger, Locale locale)
logger - the loggerlocale - the locale@Deprecated public OdsFactory dataStyles(DataStyles ds)
ds - the data styles@Deprecated public OdsFactory noLibreOfficeMode()
@Deprecated public OdsFactory metaElement(MetaElement metaElement)
metaElement - the meta element.@Deprecated public OdsFactory addNamespaceByPrefix(Map<String,String> additionalNamespaceByPrefix)
additionalNamespaceByPrefix - a map prefix to namespacepublic AnonymousOdsFileWriter createWriter()
public NamedOdsFileWriter createWriter(String filename) throws IOException
filename - the name of the destination fileFileNotFoundException - if the file can't be foundIOExceptionpublic NamedOdsFileWriter createWriter(File file) throws IOException
file - the destination fileIOException - if an I/O error occurspublic OdsFileWriterAdapter createWriterAdapter(File file) throws IOException
file - the fileIOException - if an I/O error occursCopyright © 2016–2021. All rights reserved.