Package ubic.gemma.core.analysis.service
Interface FileService<T>
- 
- Type Parameters:
- T- the type of entity to serialize
 - All Known Subinterfaces:
- DifferentialExpressionAnalysisResultListFileService,- ExpressionAnalysisResultSetFileService,- ExpressionDataFileService,- JsonFileService<T>,- TsvFileService<T>
 - All Known Implementing Classes:
- AbstractFileService,- DifferentialExpressionAnalysisResultListFileServiceImpl,- ExpressionAnalysisResultSetFileServiceImpl,- ExpressionDataFileServiceImpl,- MatrixWriter
 
 public interface FileService<T>Interface for a service that serialize entities.- Author:
- poirigui
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(T entity, File file, String contentType)voidwrite(T entity, Writer writer, String contentType)Write a given entity to an appendable with a given content type.
 
- 
- 
- 
Method Detail- 
writevoid write(T entity, Writer writer, String contentType) throws IOException Write a given entity to an appendable with a given content type.- Throws:
- IOException
 
 - 
writevoid write(T entity, File file, String contentType) throws IOException - Throws:
- IOException
 
 
- 
 
-