Package org.esa.snap.core.dataop.dem
Class ElevationFile
- java.lang.Object
-
- org.esa.snap.core.dataop.dem.ElevationFile
-
public abstract class ElevationFile extends Object
Holds information about a dem file.
-
-
Field Summary
Fields Modifier and Type Field Description protected File
localFile
protected File
localZipFile
protected ProductReader
productReader
protected boolean
remoteFileExists
protected ElevationTile
tile
-
Constructor Summary
Constructors Constructor Description ElevationFile(File localFile, ProductReader reader)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ElevationTile
createTile(Product product)
void
dispose()
protected boolean
findLocalFile()
String
getFileName()
protected void
getLocalFile()
protected abstract Boolean
getRemoteFile()
protected Boolean
getRemoteFTPFile(String remoteFTP, String remotePath)
protected Boolean
getRemoteHttpFile(String baseUrl)
ElevationTile
getTile()
protected InputStream
getZipInputStream(File dataFile)
-
-
-
Field Detail
-
localFile
protected File localFile
-
localZipFile
protected File localZipFile
-
productReader
protected final ProductReader productReader
-
remoteFileExists
protected boolean remoteFileExists
-
tile
protected ElevationTile tile
-
-
Constructor Detail
-
ElevationFile
public ElevationFile(File localFile, ProductReader reader)
-
-
Method Detail
-
dispose
public void dispose()
-
getFileName
public String getFileName()
-
getTile
public final ElevationTile getTile() throws IOException
- Throws:
IOException
-
createTile
protected ElevationTile createTile(Product product) throws IOException
- Throws:
IOException
-
findLocalFile
protected boolean findLocalFile()
-
getLocalFile
protected void getLocalFile() throws IOException
- Throws:
IOException
-
getRemoteFile
protected abstract Boolean getRemoteFile() throws IOException
- Throws:
IOException
-
getRemoteHttpFile
protected Boolean getRemoteHttpFile(String baseUrl) throws IOException
- Throws:
IOException
-
getRemoteFTPFile
protected Boolean getRemoteFTPFile(String remoteFTP, String remotePath) throws IOException
- Throws:
IOException
-
getZipInputStream
protected InputStream getZipInputStream(File dataFile) throws IOException
- Throws:
IOException
-
-