GrammarScope  4.0.0
Public Member Functions | Private Attributes | List of all members
grammarscope.server.io.serialize.AnalysisReader Class Reference

Public Member Functions

 AnalysisReader (final String archive)
 
Analysis deserializeAnalysis () throws IOException, ClassNotFoundException
 
TextAnalysis deserializeText () throws IOException, ClassNotFoundException
 

Private Attributes

final String archive
 

Detailed Description

Reads analysis from archive

Author
Bernard Bou

Constructor & Destructor Documentation

◆ AnalysisReader()

grammarscope.server.io.serialize.AnalysisReader.AnalysisReader ( final String  archive)

Analysis reader

Parameters
archivezip file

Member Function Documentation

◆ deserializeAnalysis()

Analysis grammarscope.server.io.serialize.AnalysisReader.deserializeAnalysis ( ) throws IOException, ClassNotFoundException

Deserialize analysis from zip file

Returns
analysis
Exceptions
IOExceptionexception
ClassNotFoundExceptionexception

◆ deserializeText()

TextAnalysis grammarscope.server.io.serialize.AnalysisReader.deserializeText ( ) throws IOException, ClassNotFoundException

Deserialize text analysis from zip file

Returns
text analysis
Exceptions
IOExceptionexception
ClassNotFoundExceptionexception

Member Data Documentation

◆ archive

final String grammarscope.server.io.serialize.AnalysisReader.archive
private

Zip file


The documentation for this class was generated from the following file: