public class StkPatternFileOptions extends Object
StkPatternFile
.Constructor and Description |
---|
StkPatternFileOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getIgnorePropertiesWithUnsupportedValues()
Gets a value indicating whether
StkPatternFile.readFrom(BufferedReader,StkPatternFileOptions)
will ignore a property in the pattern file if the property has a value that the reader does not understand. |
boolean |
getIgnoreUnsupportedProperties()
Gets a value indicating whether
StkPatternFile.readFrom(BufferedReader,StkPatternFileOptions)
will ignore a property in the pattern file that it does not understand. |
void |
setIgnorePropertiesWithUnsupportedValues(boolean value)
Sets a value indicating whether
StkPatternFile.readFrom(BufferedReader,StkPatternFileOptions)
will ignore a property in the pattern file if the property has a value that the reader does not understand. |
void |
setIgnoreUnsupportedProperties(boolean value)
Sets a value indicating whether
StkPatternFile.readFrom(BufferedReader,StkPatternFileOptions)
will ignore a property in the pattern file that it does not understand. |
public final boolean getIgnoreUnsupportedProperties()
StkPatternFile.readFrom(BufferedReader,StkPatternFileOptions)
will ignore a property in the pattern file that it does not understand. If this property is
false
, the reader will throw an InvalidDataException
when it encounters
such a property. If this property is true
, the reader will note the unsupported property
in the UnsupportedProperties
(get
) collection but will otherwise ignore it, which can
result in incorrect interpretation of the data in the pattern file. Setting this property to
true
will also cause the reader to ignore pattern blocks in an unsupported format.public final void setIgnoreUnsupportedProperties(boolean value)
StkPatternFile.readFrom(BufferedReader,StkPatternFileOptions)
will ignore a property in the pattern file that it does not understand. If this property is
false
, the reader will throw an InvalidDataException
when it encounters
such a property. If this property is true
, the reader will note the unsupported property
in the UnsupportedProperties
(get
) collection but will otherwise ignore it, which can
result in incorrect interpretation of the data in the pattern file. Setting this property to
true
will also cause the reader to ignore pattern blocks in an unsupported format.public final boolean getIgnorePropertiesWithUnsupportedValues()
StkPatternFile.readFrom(BufferedReader,StkPatternFileOptions)
will ignore a property in the pattern file if the property has a value that the reader does not understand.
If this property is false
, the reader will throw an InvalidDataException
when it encounters such a property. If this property is true
, the reader will note the
property with the unsupported value in the PropertiesWithUnsupportedValues
(get
)
collection but will otherwise ignore it, which can result in incorrect interpretation of the data in the
pattern file.public final void setIgnorePropertiesWithUnsupportedValues(boolean value)
StkPatternFile.readFrom(BufferedReader,StkPatternFileOptions)
will ignore a property in the pattern file if the property has a value that the reader does not understand.
If this property is false
, the reader will throw an InvalidDataException
when it encounters such a property. If this property is true
, the reader will note the
property with the unsupported value in the PropertiesWithUnsupportedValues
(get
)
collection but will otherwise ignore it, which can result in incorrect interpretation of the data in the
pattern file.