Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–290 unchanged (290 lines)
291 * for the symlink.
292 *
293 * @since 1.5
294 * @return true if the entry represents a unix symlink, false otherwise.
295 */
296 public boolean isUnixSymlink() {
297 return (getUnixMode() & UnixStat.LINK_FLAG) == UnixStat.LINK_FLAG;
298 }
299
300 /**
301 * Platform specification to put into the "version made
302 * by" part of the central file header.
303 *
…lines 304–861 unchanged (558 lines)

After

…lines 1–290 unchanged (290 lines)
291 * for the symlink.
292 *
293 * @since 1.5
294 * @return true if the entry represents a unix symlink, false otherwise.
295 */
296 public boolean isUnixSymlink() {
297 return (getUnixMode() & UnixStat.FILE_TYPE_FLAG) == UnixStat.LINK_FLAG;
298 }
299
300 /**
301 * Platform specification to put into the "version made
302 * by" part of the central file header.
303 *
…lines 304–861 unchanged (558 lines)

Before

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) unde"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "compress"
. "."
identifier "archivers"
. "."
identifier "zip"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "compress"
. "."
identifier "archivers"
. "."
identifier "ArchiveEntry"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "File"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "ArrayList"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Arrays"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Date"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "zip"
. "."
identifier "ZipException"
; ";"
block_comment "/**\n * Extension that adds better handling of extra fields a"...
class_declaration
modifiers
public "public"
class "class"
identifier "ZipArchiveEntry"
superclass
extends "extends"
scoped_type_identifier
scoped_type_identifier
scoped_type_identifier
type_identifier "java"
. "."
type_identifier "util"
. "."
type_identifier "zip"
. "."
type_identifier "ZipEntry"
super_interfaces
implements "implements"
type_list
type_identifier "ArchiveEntry"
class_body
{ "{"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "PLATFORM_UNIX"
= "="
decimal_integer_literal "3"
; ";"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "PLATFORM_FAT"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "CRC_UNKNOWN"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "SHORT_MASK"
= "="
hex_integer_literal "0xFFFF"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "SHORT_SHIFT"
= "="
decimal_integer_literal "16"
; ";"
field_declaration (+23 nodes collapsed)
block_comment "/**\n * The {@link java.util.zip.ZipEntry} base class onl"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "method"
= "="
field_access
identifier "ZipMethod"
. "."
identifier "UNKNOWN_CODE"
; ";"
block_comment "/**\n * The {@link java.util.zip.ZipEntry#setSize} method"...
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "size"
= "="
identifier "SIZE_UNKNOWN"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "internalAttributes"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "versionRequired"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "versionMadeBy"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "platform"
= "="
identifier "PLATFORM_FAT"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "rawFlag"
; ";"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "externalAttributes"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
array_type
type_identifier "ZipExtraField"
dimensions
[ "["
] "]"
variable_declarator
identifier "extraFields"
; ";"
field_declaration
modifiers
private "private"
type_identifier "UnparseableExtraFieldData"
variable_declarator
identifier "unparseableExtra"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "name"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
array_type
integral_type
byte "byte"
dimensions
[ "["
] "]"
variable_declarator
identifier "rawName"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
type_identifier "GeneralPurposeBit"
variable_declarator
identifier "gpb"
= "="
object_creation_expression
new "new"
type_identifier "GeneralPurposeBit"
argument_list
( "("
) ")"
; ";"
field_declaration (+21 nodes collapsed)
block_comment "/**\n * Creates a new zip entry with the specified name.\n"...
constructor_declaration (+30 nodes collapsed)
block_comment "/**\n * Creates a new zip entry with fields taken from th"...
constructor_declaration (+146 nodes collapsed)
block_comment "/**\n * Creates a new zip entry with fields taken from th"...
constructor_declaration (+133 nodes collapsed)
block_comment "/**\n */"
constructor_declaration
modifiers
protected "protected"
identifier "ZipArchiveEntry"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
this "this"
argument_list
( "("
string_literal
" "\""
" "\""
) ")"
; ";"
} "}"
block_comment "/**\n * Creates a new zip entry taking some information f"...
constructor_declaration (+104 nodes collapsed)
block_comment "/**\n * Overwrite clone.\n * @return a cloned copy of "...
method_declaration (+79 nodes collapsed)
block_comment "/**\n * Returns the compression method of this entry, or "...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
integral_type
int "int"
identifier "getMethod"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "method"
; ";"
} "}"
block_comment "/**\n * Sets the compression method of this entry.\n *"...
method_declaration (+57 nodes collapsed)
block_comment "/**\n * Retrieves the internal file attributes.\n *\n "...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getInternalAttributes"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "internalAttributes"
; ";"
} "}"
block_comment "/**\n * Sets the internal file attributes.\n * @param "...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Retrieves the external file attributes.\n *\n "...
method_declaration
modifiers
public "public"
integral_type
long "long"
identifier "getExternalAttributes"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "externalAttributes"
; ";"
} "}"
block_comment "/**\n * Sets the external file attributes.\n * @param "...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Sets Unix permissions in a way that is understood"...
method_declaration (+76 nodes collapsed)
block_comment "/**\n * Unix permission.\n * @return the unix permissi"...
method_declaration (+45 nodes collapsed)
block_comment "/**\n * Returns true if this entry represents a unix syml"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isUnixSymlink"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
binary_expression
parenthesized_expression
( "("
binary_expression
method_invocation
identifier "getUnixMode"
argument_list
( "("
) ")"
& "&"
field_access
identifier "UnixStat"
. "."
identifier "LINK_FLAG"
) ")"
== "=="
field_access
identifier "UnixStat"
. "."
identifier "LINK_FLAG"
; ";"
} "}"
block_comment "/**\n * Platform specification to put into the "vers"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPlatform"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "platform"
; ";"
} "}"
block_comment "/**\n * Set the platform (UNIX or FAT).\n * @param pla"...
method_declaration (+26 nodes collapsed)
block_comment "/**\n * Replaces all currently attached extra fields with"...
method_declaration (+124 nodes collapsed)
block_comment "/**\n * Retrieves all extra fields that have been parsed "...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Retrieves extra fields.\n * @param includeUnpa"...
method_declaration (+37 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+52 nodes collapsed)
block_comment "/**\n * Get all extra fields, including unparseable ones."...
method_declaration (+51 nodes collapsed)
method_declaration (+38 nodes collapsed)
method_declaration (+84 nodes collapsed)
method_declaration (+58 nodes collapsed)
method_declaration (+36 nodes collapsed)
method_declaration (+52 nodes collapsed)
block_comment "/**\n * Adds an extra field - replacing an already presen"...
method_declaration (+165 nodes collapsed)
block_comment "/**\n * Adds an extra field - replacing an already presen"...
method_declaration (+181 nodes collapsed)
block_comment "/**\n * Remove an extra field.\n * @param type the typ"...
method_declaration (+181 nodes collapsed)
block_comment "/**\n * Removes unparseable extra field data.\n *\n "...
method_declaration (+51 nodes collapsed)
block_comment "/**\n * Looks up an extra field by its header id.\n *\n"...
method_declaration (+71 nodes collapsed)
block_comment "/**\n * Looks up extra field data that couldn't be parsed"...
method_declaration
modifiers
public "public"
type_identifier "UnparseableExtraFieldData"
identifier "getUnparseableExtraFieldData"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "unparseableExtra"
; ";"
} "}"
block_comment "/**\n * Parses the given bytes as extra field data and co"...
method_declaration (+124 nodes collapsed)
block_comment "/**\n * Unfortunately {@link java.util.zip.ZipOutputStrea"...
method_declaration (+32 nodes collapsed)
block_comment "/**\n * Sets the central directory part of extra fields.\n"...
method_declaration (+98 nodes collapsed)
block_comment "/**\n * Retrieves the extra data for the local file data."...
method_declaration (+46 nodes collapsed)
block_comment "/**\n * Retrieves the extra data for the central director"...
method_declaration (+31 nodes collapsed)
block_comment "/**\n * Get the name of the entry.\n * @return the ent"...
method_declaration (+32 nodes collapsed)
block_comment "/**\n * Is this entry a directory?\n * @return true if"...
method_declaration (+32 nodes collapsed)
block_comment "/**\n * Set the name of the entry.\n * @param name the"...
method_declaration (+75 nodes collapsed)
block_comment "/**\n * Gets the uncompressed size of the entry data.\n "...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
integral_type
long "long"
identifier "getSize"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "size"
; ";"
} "}"
block_comment "/**\n * Sets the uncompressed size of the entry data.\n "...
method_declaration (+54 nodes collapsed)
block_comment "/**\n * Sets the name using the raw bytes and the string "...
method_declaration (+44 nodes collapsed)
block_comment "/**\n * Returns the raw bytes that made up the name befor"...
method_declaration (+81 nodes collapsed)
block_comment "/**\n * Get the hashCode of the entry.\n * This uses t"...
method_declaration (+33 nodes collapsed)
block_comment "/**\n * The \"general purpose bit\" field.\n * @return t"...
method_declaration
modifiers
public "public"
type_identifier "GeneralPurposeBit"
identifier "getGeneralPurposeBit"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "gpb"
; ";"
} "}"
block_comment "/**\n * The \"general purpose bit\" field.\n * @param b "...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * If there are no extra fields, use the given field"...
method_declaration (+228 nodes collapsed)
block_comment "/**\n * Wraps {@link java.util.zip.ZipEntry#getTime} with"...
method_declaration (+28 nodes collapsed)
block_comment "/* (non-Javadoc)\n * @see java.lang.Object#equals(java.la"...
method_declaration (+419 nodes collapsed)
block_comment "/**\n * Sets the \"version made by\" field.\n * @param v"...
method_declaration (+26 nodes collapsed)
block_comment "/**\n * Sets the \"version required to expand\" field.\n "...
method_declaration (+26 nodes collapsed)
block_comment "/**\n * The \"version required to expand\" field.\n * @r"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getVersionRequired"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "versionRequired"
; ";"
} "}"
block_comment "/**\n * The \"version made by\" field.\n * @return \"vers"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getVersionMadeBy"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "versionMadeBy"
; ";"
} "}"
block_comment "/**\n * The content of the flags field.\n * @return co"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getRawFlag"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "rawFlag"
; ";"
} "}"
block_comment "/**\n * Sets the content of the flags field.\n * @para"...
method_declaration (+26 nodes collapsed)
} "}"

After

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) unde"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "compress"
. "."
identifier "archivers"
. "."
identifier "zip"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "compress"
. "."
identifier "archivers"
. "."
identifier "ArchiveEntry"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "File"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "ArrayList"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Arrays"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Date"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "zip"
. "."
identifier "ZipException"
; ";"
block_comment "/**\n * Extension that adds better handling of extra fields a"...
class_declaration
modifiers
public "public"
class "class"
identifier "ZipArchiveEntry"
superclass
extends "extends"
scoped_type_identifier
scoped_type_identifier
scoped_type_identifier
type_identifier "java"
. "."
type_identifier "util"
. "."
type_identifier "zip"
. "."
type_identifier "ZipEntry"
super_interfaces
implements "implements"
type_list
type_identifier "ArchiveEntry"
class_body
{ "{"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "PLATFORM_UNIX"
= "="
decimal_integer_literal "3"
; ";"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "PLATFORM_FAT"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "CRC_UNKNOWN"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "SHORT_MASK"
= "="
hex_integer_literal "0xFFFF"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "SHORT_SHIFT"
= "="
decimal_integer_literal "16"
; ";"
field_declaration (+23 nodes collapsed)
block_comment "/**\n * The {@link java.util.zip.ZipEntry} base class onl"...
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "method"
= "="
field_access
identifier "ZipMethod"
. "."
identifier "UNKNOWN_CODE"
; ";"
block_comment "/**\n * The {@link java.util.zip.ZipEntry#setSize} method"...
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "size"
= "="
identifier "SIZE_UNKNOWN"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "internalAttributes"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "versionRequired"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "versionMadeBy"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "platform"
= "="
identifier "PLATFORM_FAT"
; ";"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "rawFlag"
; ";"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "externalAttributes"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
array_type
type_identifier "ZipExtraField"
dimensions
[ "["
] "]"
variable_declarator
identifier "extraFields"
; ";"
field_declaration
modifiers
private "private"
type_identifier "UnparseableExtraFieldData"
variable_declarator
identifier "unparseableExtra"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "name"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
array_type
integral_type
byte "byte"
dimensions
[ "["
] "]"
variable_declarator
identifier "rawName"
= "="
null_literal "null"
; ";"
field_declaration
modifiers
private "private"
type_identifier "GeneralPurposeBit"
variable_declarator
identifier "gpb"
= "="
object_creation_expression
new "new"
type_identifier "GeneralPurposeBit"
argument_list
( "("
) ")"
; ";"
field_declaration (+21 nodes collapsed)
block_comment "/**\n * Creates a new zip entry with the specified name.\n"...
constructor_declaration (+30 nodes collapsed)
block_comment "/**\n * Creates a new zip entry with fields taken from th"...
constructor_declaration (+146 nodes collapsed)
block_comment "/**\n * Creates a new zip entry with fields taken from th"...
constructor_declaration (+133 nodes collapsed)
block_comment "/**\n */"
constructor_declaration
modifiers
protected "protected"
identifier "ZipArchiveEntry"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
this "this"
argument_list
( "("
string_literal
" "\""
" "\""
) ")"
; ";"
} "}"
block_comment "/**\n * Creates a new zip entry taking some information f"...
constructor_declaration (+104 nodes collapsed)
block_comment "/**\n * Overwrite clone.\n * @return a cloned copy of "...
method_declaration (+79 nodes collapsed)
block_comment "/**\n * Returns the compression method of this entry, or "...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
integral_type
int "int"
identifier "getMethod"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "method"
; ";"
} "}"
block_comment "/**\n * Sets the compression method of this entry.\n *"...
method_declaration (+57 nodes collapsed)
block_comment "/**\n * Retrieves the internal file attributes.\n *\n "...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getInternalAttributes"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "internalAttributes"
; ";"
} "}"
block_comment "/**\n * Sets the internal file attributes.\n * @param "...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Retrieves the external file attributes.\n *\n "...
method_declaration
modifiers
public "public"
integral_type
long "long"
identifier "getExternalAttributes"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "externalAttributes"
; ";"
} "}"
block_comment "/**\n * Sets the external file attributes.\n * @param "...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Sets Unix permissions in a way that is understood"...
method_declaration (+76 nodes collapsed)
block_comment "/**\n * Unix permission.\n * @return the unix permissi"...
method_declaration (+45 nodes collapsed)
block_comment "/**\n * Returns true if this entry represents a unix syml"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isUnixSymlink"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
binary_expression
parenthesized_expression
( "("
binary_expression
method_invocation
identifier "getUnixMode"
argument_list
( "("
) ")"
& "&"
field_access
identifier "UnixStat"
. "."
identifier "FILE_TYPE_FLAG"
) ")"
== "=="
field_access
identifier "UnixStat"
. "."
identifier "LINK_FLAG"
; ";"
} "}"
block_comment "/**\n * Platform specification to put into the "vers"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPlatform"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "platform"
; ";"
} "}"
block_comment "/**\n * Set the platform (UNIX or FAT).\n * @param pla"...
method_declaration (+26 nodes collapsed)
block_comment "/**\n * Replaces all currently attached extra fields with"...
method_declaration (+124 nodes collapsed)
block_comment "/**\n * Retrieves all extra fields that have been parsed "...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Retrieves extra fields.\n * @param includeUnpa"...
method_declaration (+37 nodes collapsed)
method_declaration (+35 nodes collapsed)
method_declaration (+52 nodes collapsed)
block_comment "/**\n * Get all extra fields, including unparseable ones."...
method_declaration (+51 nodes collapsed)
method_declaration (+38 nodes collapsed)
method_declaration (+84 nodes collapsed)
method_declaration (+58 nodes collapsed)
method_declaration (+36 nodes collapsed)
method_declaration (+52 nodes collapsed)
block_comment "/**\n * Adds an extra field - replacing an already presen"...
method_declaration (+165 nodes collapsed)
block_comment "/**\n * Adds an extra field - replacing an already presen"...
method_declaration (+181 nodes collapsed)
block_comment "/**\n * Remove an extra field.\n * @param type the typ"...
method_declaration (+181 nodes collapsed)
block_comment "/**\n * Removes unparseable extra field data.\n *\n "...
method_declaration (+51 nodes collapsed)
block_comment "/**\n * Looks up an extra field by its header id.\n *\n"...
method_declaration (+71 nodes collapsed)
block_comment "/**\n * Looks up extra field data that couldn't be parsed"...
method_declaration
modifiers
public "public"
type_identifier "UnparseableExtraFieldData"
identifier "getUnparseableExtraFieldData"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "unparseableExtra"
; ";"
} "}"
block_comment "/**\n * Parses the given bytes as extra field data and co"...
method_declaration (+124 nodes collapsed)
block_comment "/**\n * Unfortunately {@link java.util.zip.ZipOutputStrea"...
method_declaration (+32 nodes collapsed)
block_comment "/**\n * Sets the central directory part of extra fields.\n"...
method_declaration (+98 nodes collapsed)
block_comment "/**\n * Retrieves the extra data for the local file data."...
method_declaration (+46 nodes collapsed)
block_comment "/**\n * Retrieves the extra data for the central director"...
method_declaration (+31 nodes collapsed)
block_comment "/**\n * Get the name of the entry.\n * @return the ent"...
method_declaration (+32 nodes collapsed)
block_comment "/**\n * Is this entry a directory?\n * @return true if"...
method_declaration (+32 nodes collapsed)
block_comment "/**\n * Set the name of the entry.\n * @param name the"...
method_declaration (+75 nodes collapsed)
block_comment "/**\n * Gets the uncompressed size of the entry data.\n "...
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Override"
public "public"
integral_type
long "long"
identifier "getSize"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "size"
; ";"
} "}"
block_comment "/**\n * Sets the uncompressed size of the entry data.\n "...
method_declaration (+54 nodes collapsed)
block_comment "/**\n * Sets the name using the raw bytes and the string "...
method_declaration (+44 nodes collapsed)
block_comment "/**\n * Returns the raw bytes that made up the name befor"...
method_declaration (+81 nodes collapsed)
block_comment "/**\n * Get the hashCode of the entry.\n * This uses t"...
method_declaration (+33 nodes collapsed)
block_comment "/**\n * The \"general purpose bit\" field.\n * @return t"...
method_declaration
modifiers
public "public"
type_identifier "GeneralPurposeBit"
identifier "getGeneralPurposeBit"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "gpb"
; ";"
} "}"
block_comment "/**\n * The \"general purpose bit\" field.\n * @param b "...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * If there are no extra fields, use the given field"...
method_declaration (+228 nodes collapsed)
block_comment "/**\n * Wraps {@link java.util.zip.ZipEntry#getTime} with"...
method_declaration (+28 nodes collapsed)
block_comment "/* (non-Javadoc)\n * @see java.lang.Object#equals(java.la"...
method_declaration (+419 nodes collapsed)
block_comment "/**\n * Sets the \"version made by\" field.\n * @param v"...
method_declaration (+26 nodes collapsed)
block_comment "/**\n * Sets the \"version required to expand\" field.\n "...
method_declaration (+26 nodes collapsed)
block_comment "/**\n * The \"version required to expand\" field.\n * @r"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getVersionRequired"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "versionRequired"
; ";"
} "}"
block_comment "/**\n * The \"version made by\" field.\n * @return \"vers"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getVersionMadeBy"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "versionMadeBy"
; ";"
} "}"
block_comment "/**\n * The content of the flags field.\n * @return co"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getRawFlag"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "rawFlag"
; ";"
} "}"
block_comment "/**\n * Sets the content of the flags field.\n * @para"...
method_declaration (+26 nodes collapsed)
} "}"