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, readAll
addListenersToProject, addListenersToReader, addProjectListener
public void setCharset(Charset charset)
setCharset
in interface HasCharset
charset
- character set to use when reading the filepublic Charset getCharset()
getCharset
in interface HasCharset
public ProjectFile read(InputStream inputStream) throws MPXJException
ProjectReader
read
in interface ProjectReader
inputStream
- InputStream instanceMPXJException
public void setIgnoreErrors(boolean ignoreErrors)
ignoreErrors
- pass true to ignore errorspublic boolean getIgnoreErrors()
Copyright © 2000–2024 Packwood Software. All rights reserved.