canEncode

abstract fun canEncode(name: String): Boolean

Check, whether the given string may be losslessly encoded using this encoding.

Return

Whether the given name may be encoded with out any losses.

Parameters

name

A file name or ZIP comment.