gedi-geode-extensions-core/src/main/java/gedi/solutions/geode/operations/functions/ReadExportFunction.java
private Serializable readContent(File file, ExportFileType exportFileType, Logger logWriter)
	throws IOException
	{
		String filePath = file.getAbsolutePath();
		
		logWriter.info("reading "+filePath);
		
		switch(exportFileType)
		{
			case gfd: return IO.readBinaryFile(file);
			
			case json: return IO.readFile(file.getAbsolutePath(),StandardCharsets.UTF_8);
			default:
				throw new RuntimeException("Unknown extension file type:"+exportFileType);
		}
				
	}
private Serializable readContent(File file, ExportFileType exportFileType, Logger logWriter)
	throws IOException
	{
		String filePath = file.getAbsolutePath();
		
		logWriter.info("reading "+filePath);
		
		switch(exportFileType)
		{
			case gfd: return IO.readBinaryFile(file);
			
			case json: return IO.readFile(file.getAbsolutePath(),StandardCharsets.UTF_8);
			default:
				throw new RuntimeException("Unknown extension file type:"+exportFileType);
		}
				
	}
private Serializable readContent ( File file , ExportFileType exportFileType , Logger logWriter ) throws IOException { String filePath = file . getAbsolutePath ( ) ; logWriter . info ( "reading " + filePath ) ; switch ( exportFileType ) { case gfd : return IO . readBinaryFile ( file ) ; case json : return IO . readFile ( file . getAbsolutePath ( ) , StandardCharsets . UTF_8 ) ; default : throw new RuntimeException ( "Unknown extension file type:" + exportFileType ) ; } }
--------------------------------------------------------
--------------------------------------------------------