public final class MPXWriter extends AbstractProjectWriter
| Constructor and Description |
|---|
MPXWriter() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale()
This method returns the locale used by this MPX file.
|
static Locale[] |
getSupportedLocales()
Retrieves an array of locales supported by this class.
|
boolean |
getUseLocaleDefaults()
Retrieves a flag indicating if the default settings for the locale should
override any project settings.
|
void |
setLocale(Locale locale)
This method sets the locale to be used by this MPX file.
|
void |
setUseLocaleDefaults(boolean useLocaleDefaults)
Sets a flag indicating if the default settings for the locale should
override any project settings.
|
void |
write(List<ProjectFile> projects,
OutputStream outputStream)
Write a file containing multiple projects to the supplied OutputStream instance.
|
void |
write(ProjectFile projectFile,
OutputStream out)
Write a project file's content to the supplied OutputStream instance.
|
write, write, write, writepublic void write(List<ProjectFile> projects, OutputStream outputStream)
ProjectWriterprojects - projects to writeoutputStream - OutputStream instancepublic void write(ProjectFile projectFile, OutputStream out) throws IOException
ProjectWriterprojectFile - project file instanceout - OutputStream instanceIOExceptionpublic Locale getLocale()
public void setLocale(Locale locale)
locale - locale to be usedpublic boolean getUseLocaleDefaults()
public void setUseLocaleDefaults(boolean useLocaleDefaults)
useLocaleDefaults - boolean flagpublic static Locale[] getSupportedLocales()
Copyright © 2000–2025 MPXJ. All rights reserved.