# Class: com.pnfsoftware.jeb.util.encoding.zip.GenericZipEntry

A read\-only, generic view of a Zip entry.

## Method: getComment
- return type: `java.lang.String`

Description: Get the entry comment.
return: comment string, or null if none

## Method: getCompressedSize
- return type: `long`

Description: Get the compressed entry size.
return: compressed size in bytes, or \-1 if unavailable

## Method: getCrc
- return type: `long`

Description: Get the entry CRC\-32 value.
return: CRC\-32 value, or \-1 if unavailable

## Method: getExtra
- return type: `byte[]`

Description: Get the entry extra data.
return: extra data bytes, or null if none

## Method: getInternalEntry
- return type: `T`

Description: Get the implementation\-specific Zip entry backing this generic view.
return: internal Zip entry

## Method: getMethod
- return type: `int`

Description: Get the Zip compression method.
return: compression method identifier

## Method: getName
- return type: `java.lang.String`

Description: Retrieve the full entry name, e.g. `abc/def/file.txt`
return: full entry name

## Method: getSimpleName
- return type: `java.lang.String`

Description: Retrieve the simple entry name, e.g. `file.txt` for an entry `abc/def/file.txt`
return: entry name without its directory path

## Method: getSize
- return type: `long`

Description: Get the uncompressed entry size.
return: uncompressed size in bytes, or \-1 if unavailable

## Method: getTime
- return type: `long`

Description: Get the entry last\-modification time.
return: last\-modification time in milliseconds since the epoch, or \-1 if unavailable

## Method: isDirectory
- return type: `boolean`

Description: Determine whether this entry represents a directory.
return: true for directory entries

