public final class SDEFReader extends AbstractProjectStreamReader implements HasCharset
| Constructor and Description |
|---|
SDEFReader() |
| Modifier and Type | Method and Description |
|---|---|
Charset |
getCharset()
Retrieve the character set used when reading an SDEF file.
|
boolean |
getIgnoreErrors()
Retrieve the flag which determines if datatype parse errors can be ignored.
|
ProjectFile |
read(InputStream inputStream)
Read a single schedule from a file where the contents of the project file
are supplied via an input stream.
|
void |
setCharset(Charset charset)
Set the character set used when reading an SDEF file.
|
void |
setIgnoreErrors(boolean ignoreErrors)
Set a flag to determine if datatype parse errors can be ignored.
|
read, read, readAll, readAll, readAlladdListenersToContext, addListenersToProject, addListenersToReader, addProjectListenerpublic void setCharset(Charset charset)
setCharset in interface HasCharsetcharset - character set to use when reading the filepublic Charset getCharset()
getCharset in interface HasCharsetpublic ProjectFile read(InputStream inputStream) throws MPXJException
ProjectReaderread in interface ProjectReaderinputStream - InputStream instanceMPXJExceptionpublic void setIgnoreErrors(boolean ignoreErrors)
ignoreErrors - pass true to ignore errorspublic boolean getIgnoreErrors()
Copyright © 2000–2026 MPXJ. All rights reserved.