public class TrackInput extends Object implements AutoCloseable
| Constructor and Description |
|---|
TrackInput(File file) |
TrackInput(InputStream is) |
TrackInput(String filename) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
float |
getLatitude() |
float |
getLongitude() |
long |
getTime() |
UUID |
getUuid()
Returns the UUID of compressed track
|
boolean |
read()
Reads a new position
|
public TrackInput(String filename) throws IOException
IOExceptionpublic TrackInput(File file) throws IOException
IOExceptionpublic TrackInput(InputStream is) throws IOException
IOExceptionpublic UUID getUuid()
public boolean read()
throws IOException
IOExceptionpublic long getTime()
public float getLatitude()
public float getLongitude()
public void close()
throws IOException
close in interface AutoCloseableIOExceptionCopyright © 2016. All rights reserved.