GrammarScope  4.0.0
Static Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
grammarscope.io.serialize.ZipDeSerializer Class Reference

Static Public Member Functions

static Object deserializeZip (final String archive, final String name) throws IOException, ClassNotFoundException
 
static List< List< Object > > deserializeZip (final String archive) throws IOException, ClassNotFoundException
 
static List< List< Object > > deserializeZip (final URL archiveUrl) throws IOException, ClassNotFoundException
 

Private Member Functions

 ZipDeSerializer ()
 

Static Private Member Functions

static void info (final String s)
 

Detailed Description

ZipDeSerializer.java

Author
Bernard Bou

Constructor & Destructor Documentation

◆ ZipDeSerializer()

grammarscope.io.serialize.ZipDeSerializer.ZipDeSerializer ( )
private

Member Function Documentation

◆ deserializeZip() [1/3]

static List<List<Object> > grammarscope.io.serialize.ZipDeSerializer.deserializeZip ( final String  archive) throws IOException, ClassNotFoundException
static

Deserialize all from archive

Parameters
archivearchive
Returns
list of entry objects
Exceptions
IOExceptionexception
ClassNotFoundExceptionexception

◆ deserializeZip() [2/3]

static Object grammarscope.io.serialize.ZipDeSerializer.deserializeZip ( final String  archive,
final String  name 
) throws IOException, ClassNotFoundException
static

Deserialize from archive

Parameters
archivearchive name
name(will be the zipfile entry)
Returns
deserialized object
Exceptions
IOExceptionexception
ClassNotFoundExceptionexception

◆ deserializeZip() [3/3]

static List<List<Object> > grammarscope.io.serialize.ZipDeSerializer.deserializeZip ( final URL  archiveUrl) throws IOException, ClassNotFoundException
static

Deserialize all from archive

Parameters
archiveUrlarchive url
Returns
list of entry objects
Exceptions
IOExceptionexception
ClassNotFoundExceptionexception

◆ info()

static void grammarscope.io.serialize.ZipDeSerializer.info ( final String  s)
staticprivate

Log info

Parameters
sstring

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