org.cresques.io
Class TrkFile

java.lang.Object
  extended byorg.cresques.io.GeoFile
      extended byorg.cresques.io.TrkFile
All Implemented Interfaces:
Extent.Has, Projected

public class TrkFile
extends GeoFile

Author:
luisw

Field Summary
 
Fields inherited from class org.cresques.io.GeoFile
bytesReaded, extent, lineCnt
 
Constructor Summary
TrkFile(IProjection proj, java.lang.String name)
           
 
Method Summary
 void close()
           
 IObjList getObjects()
           
 GeoFile load()
           
 GeoFile load(java.io.InputStream is)
           
 boolean readPoint()
           
 void reProject(ICoordTrans rp)
           
 
Methods inherited from class org.cresques.io.GeoFile
filterWS, getExtent, getFileSize, getName, getProjection, getTime, setFileSize, setName, setProjection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrkFile

public TrkFile(IProjection proj,
               java.lang.String name)
Method Detail

load

public GeoFile load()
Specified by:
load in class GeoFile

load

public GeoFile load(java.io.InputStream is)
             throws java.lang.NumberFormatException,
                    java.lang.Exception
Throws:
java.lang.NumberFormatException
java.lang.Exception

readPoint

public boolean readPoint()

getObjects

public IObjList getObjects()
Specified by:
getObjects in class GeoFile

reProject

public void reProject(ICoordTrans rp)
Specified by:
reProject in interface Projected
Specified by:
reProject in class GeoFile

close

public void close()
Specified by:
close in class GeoFile