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(ProjectFile projectFile,
OutputStream out)
Write a project file's content to the supplied OutputStream instance.
|
write, write
public void write(ProjectFile projectFile, OutputStream out) throws IOException
ProjectWriter
projectFile
- project file instanceout
- OutputStream instanceIOException
public 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–2024 Packwood Software. All rights reserved.