public class DefaultMetadataOptions extends Object implements MetadataOptions
Modifier and Type | Field and Description |
---|---|
private MetadataLevel |
level |
private boolean |
validate |
Constructor and Description |
---|
DefaultMetadataOptions()
Construct a new DefaultMetadataOptions.
|
DefaultMetadataOptions(MetadataLevel level)
Construct a new DefaultMetadataOptions.
|
Modifier and Type | Method and Description |
---|---|
MetadataLevel |
getMetadataLevel() |
boolean |
isValidate()
Returns true if files should be validated when read.
|
void |
setMetadataLevel(MetadataLevel level)
Set the MetadataLevel associated with this MetadataOptions.
|
void |
setValidate(boolean validateMetadata)
Specifies whether or not to validate files when reading.
|
private MetadataLevel level
private boolean validate
public DefaultMetadataOptions()
MetadataLevel.ALL
.public DefaultMetadataOptions(MetadataLevel level)
level
- the MetadataLevel to usepublic MetadataLevel getMetadataLevel()
getMetadataLevel
in interface MetadataOptions
public void setMetadataLevel(MetadataLevel level)
MetadataOptions
setMetadataLevel
in interface MetadataOptions
public boolean isValidate()
MetadataOptions
isValidate
in interface MetadataOptions
public void setValidate(boolean validateMetadata)
MetadataOptions
setValidate
in interface MetadataOptions
Copyright © 2016 Open Microscopy Environment