#NEWLINE# def WriteStr( self , name , content ) : #NEWLINE# #INDENT# "Write a str as an entry to a jar, creating a new one if necessary.\n\n    If the total uncompressed size of all the entries written to the current jar\n    excludes the maximum, the current jar will be closed and a new one created.\n\n    Args:\n      name: the relative name of the jar entry, for example\n        'java/lang/String.class'.\n      content: a str that is the bytes to be written to the jar entry.\n    " #NEWLINE# self . _WriteEntry ( len ( content ) , ( lambda : self . current_jar . writestr ( name , content ) ) )