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

Static Public Member Functions

static void serializeZip (final String archive, final String name, final Object object) throws IOException
 
static void serializeZip (final String archive, final String[] names, final Object... objects) throws IOException
 

Private Member Functions

 ZipSerializer ()
 

Static Private Member Functions

static void info (final String s)
 
static void error (final String s)
 
static void debug (final String s)
 

Detailed Description

ZipSerializer

Author
Bernard Bou

Constructor & Destructor Documentation

◆ ZipSerializer()

grammarscope.io.serialize.ZipSerializer.ZipSerializer ( )
private

Member Function Documentation

◆ debug()

static void grammarscope.io.serialize.ZipSerializer.debug ( final String  s)
staticprivate

Log debug

Parameters
sstring

◆ error()

static void grammarscope.io.serialize.ZipSerializer.error ( final String  s)
staticprivate

Log error

Parameters
sstring

◆ info()

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

Log info

Parameters
sstring

◆ serializeZip() [1/2]

static void grammarscope.io.serialize.ZipSerializer.serializeZip ( final String  archive,
final String  name,
final Object  object 
) throws IOException
static

Append serialization to archive

Parameters
archivearchive
namename (will be the zipfile entry)
objectobject to serialize
Exceptions
IOExceptionexception

◆ serializeZip() [2/2]

static void grammarscope.io.serialize.ZipSerializer.serializeZip ( final String  archive,
final String[]  names,
final Object...  objects 
) throws IOException
static

Serialize to archive

Parameters
archivearchive
namesnames of objects to serialize
objectsseries of objects to serialize
Exceptions
IOExceptionexception

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