|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.writer.AbstractProjectWriter
net.sf.mpxj.mpx.MPXWriter
public final class MPXWriter
This class creates a new MPX file from the contents of a ProjectFile instance.
| Constructor Summary | |
|---|---|
MPXWriter()
|
|
| Method Summary | |
|---|---|
Locale |
getLocale()
This method returns the locale used by this MPX file. |
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)
Create a project file using the supplied OutputStream instance. |
| Methods inherited from class net.sf.mpxj.writer.AbstractProjectWriter |
|---|
write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MPXWriter()
| Method Detail |
|---|
public void write(ProjectFile projectFile,
OutputStream out)
throws IOException
projectFile - project file instanceout - OutputStream instance
IOExceptionpublic Locale getLocale()
public void setLocale(Locale locale)
locale - locale to be usedpublic boolean getUseLocaleDefaults()
public void setUseLocaleDefaults(boolean useLocaleDefaults)
useLocaleDefaults - boolean flagpublic Locale[] getSupportedLocales()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||