public final class StreamFactory extends Object
The data set will be initialised very quickly as only the header information is read. Entities are then created when requested by the detection process and stored in a cache to avoid being recreated if their requested again after a short period of time.
The very small data structures RootNodes, Properties and Components are always /stored in memory as there is no benefit retrieving them every time they're needed.
For more information see http://51degrees.mobi/Support/Documentation/Java
| Constructor and Description |
|---|
StreamFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Dataset |
create(byte[] data) |
static Dataset |
create(String filename) |
(package private) static Dataset |
read(BinaryReader reader,
Source source) |
public static Dataset create(byte[] data) throws IOException
IOExceptionpublic static Dataset create(String filename) throws IOException
IOExceptionstatic Dataset read(BinaryReader reader, Source source) throws IOException
IOException