Package org.esa.snap.core.gpf.main
Interface CommandLineContext
-
- All Superinterfaces:
SimpleFileSystem
public interface CommandLineContext extends SimpleFileSystem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecuteGraph(Graph graph, GraphProcessingObserver observer)booleanfileExists(String fileName)LoggergetLogger()voidprint(String m)GraphreadGraph(String filePath, Map<String,String> templateVariables)ProductreadProduct(String productFilepath)voidwriteProduct(Product targetProduct, String filePath, String formatName, boolean clearCacheAfterRowWrite)-
Methods inherited from interface com.bc.ceres.metadata.SimpleFileSystem
createReader, createWriter, isFile, list
-
-
-
-
Method Detail
-
readProduct
Product readProduct(String productFilepath) throws IOException
- Throws:
IOException
-
writeProduct
void writeProduct(Product targetProduct, String filePath, String formatName, boolean clearCacheAfterRowWrite) throws IOException
- Throws:
IOException
-
readGraph
Graph readGraph(String filePath, Map<String,String> templateVariables) throws GraphException, IOException
- Throws:
GraphExceptionIOException
-
executeGraph
void executeGraph(Graph graph, GraphProcessingObserver observer) throws GraphException
- Throws:
GraphException
-
print
void print(String m)
-
getLogger
Logger getLogger()
-
fileExists
boolean fileExists(String fileName)
-
-