public class FindProfiles extends Object implements Closeable
| Constructor and Description |
|---|
FindProfiles()
Initialises the device detection Provider with the included Lite data
file.
|
protected final Provider provider
public FindProfiles()
throws IOException
IOException - can be thrown if there is a problem reading from the
provided data file.public static void main(String[] args) throws IOException
Provider.DataSet.FindProfiles(java.lang.String, java.lang.String, List<Profile>).
Profiles are then stored in the List list and can be
accessed using the profiles.get(int index) method.
args - command line arguments, not used.IOException - if there is a problem accessing the data file
that will be used for device detection.public void close()
throws IOException
Dataset by releasing data
file readers and freeing the data file from locks. This method should
only be used when the Dataset is no longer required, i.e. when
device detection functionality is no longer required, or the data file
needs to be freed.close in interface Closeableclose in interface AutoCloseableIOException - if there is a problem accessing the data file.Copyright © 2016 51Degrees. All rights reserved.