◆ getEvidenceIterable()
static Iterable<Map<String, String> > fiftyone.devicedetection.examples.shared.EvidenceHelper.getEvidenceIterable | ( | File | yamlFile | ) | throws IOException |
static
Create an Iterable<Map<String, String>> for reading documents from the passed yamlFile.
- Parameters
-
- yamlFile - a yamlFile
- Returns
- an Iterable
- Exceptions
-
- IOException - for file errors
◆ getEvidenceList()
static List<Map<String, String> > fiftyone.devicedetection.examples.shared.EvidenceHelper.getEvidenceList ( File yamlFile, int max ) throws IOException staticLoad a Yaml file as a list of documents (each being a Map containing evidence)
- Parameters
-
- yamlFile - a yaml file
- max - maximum entries
- Returns
- a List
- Exceptions
-
- IOException - in case of error