class_body
{ "{"
field_declaration
modifiers
static "static"
final "final"
type_identifier "ZipShort"
variable_declarator
identifier "HEADER_ID"
= "="
object_creation_expression
new "new"
type_identifier "ZipShort"
argument_list
( "("
hex_integer_literal "0x0001"
) ")"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "LFH_MUST_HAVE_BOTH_SIZES_MSG"
= "="
binary_expression
string_literal
" "\""
string_fragment "Zip64 extended information must contain"
" "\""
+ "+"
string_literal
" "\""
string_fragment " both size values in the local file header."
" "\""
; ";"
field_declaration (+23 nodes collapsed)
field_declaration
modifiers
private "private"
type_identifier "ZipEightByteInteger"
variable_declarator
identifier "size"
, ","
variable_declarator
identifier "compressedSize"
, ","
variable_declarator
identifier "relativeHeaderOffset"
; ";"
field_declaration
modifiers
private "private"
type_identifier "ZipLong"
variable_declarator
identifier "diskStart"
; ";"
block_comment "/**\n * Stored in {@link #parseFromCentralDirectoryData\n "...
field_declaration
modifiers
private "private"
array_type
integral_type
byte "byte"
dimensions
[ "["
] "]"
variable_declarator
identifier "rawCentralDirectoryData"
; ";"
block_comment "/**\n * This constructor should only be used by the code "...
constructor_declaration
modifiers
public "public"
identifier "Zip64ExtendedInformationExtraField"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
} "}"
block_comment "/**\n * Creates an extra field based on the original and "...
constructor_declaration (+30 nodes collapsed)
block_comment "/**\n * Creates an extra field based on all four possible"...
constructor_declaration (+61 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration
modifiers
public "public"
type_identifier "ZipShort"
identifier "getHeaderId"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "HEADER_ID"
; ";"
} "}"
block_comment "/** {@inheritDoc} */"
method_declaration (+32 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+74 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+100 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+146 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+206 nodes collapsed)
block_comment "/** {@inheritDoc} */"
method_declaration (+206 nodes collapsed)
block_comment "/**\n * Parses the raw bytes read from the central direct"...
method_declaration
modifiers
public "public"
void_type "void"
identifier "reparseCentralDirectoryData"
formal_parameters
( "("
formal_parameter
boolean_type "boolean"
identifier "hasUncompressedSize"
, ","
formal_parameter
boolean_type "boolean"
identifier "hasCompressedSize"
, ","
formal_parameter
boolean_type "boolean"
identifier "hasRelativeHeaderOffset"
, ","
formal_parameter
boolean_type "boolean"
identifier "hasDiskStart"
) ")"
throws
throws "throws"
type_identifier "ZipException"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "rawCentralDirectoryData"
!= "!="
null_literal "null"
) ")"
block
{ "{"
local_variable_declaration (+49 nodes collapsed)
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
field_access
identifier "rawCentralDirectoryData"
. "."
identifier "length"
!= "!="
identifier "expectedLength"
) ")"
block (+49 nodes collapsed)
local_variable_declaration
integral_type
int "int"
variable_declarator
identifier "offset"
= "="
decimal_integer_literal "0"
; ";"
if_statement (+29 nodes collapsed)
if_statement (+29 nodes collapsed)
if_statement (+29 nodes collapsed)
if_statement (+29 nodes collapsed)
} "}"
} "}"
block_comment "/**\n * The uncompressed size stored in this extra field."...
method_declaration
modifiers
public "public"
type_identifier "ZipEightByteInteger"
identifier "getSize"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "size"
; ";"
} "}"
block_comment "/**\n * The uncompressed size stored in this extra field."...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * The compressed size stored in this extra field.\n "...
method_declaration
modifiers
public "public"
type_identifier "ZipEightByteInteger"
identifier "getCompressedSize"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "compressedSize"
; ";"
} "}"
block_comment "/**\n * The uncompressed size stored in this extra field."...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * The relative header offset stored in this extra f"...
method_declaration
modifiers
public "public"
type_identifier "ZipEightByteInteger"
identifier "getRelativeHeaderOffset"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "relativeHeaderOffset"
; ";"
} "}"
block_comment "/**\n * The relative header offset stored in this extra f"...
method_declaration
modifiers
public "public"
void_type "void"
identifier "setRelativeHeaderOffset"
formal_parameters
( "("
formal_parameter
type_identifier "ZipEightByteInteger"
identifier "rho"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "relativeHeaderOffset"
= "="
identifier "rho"
; ";"
} "}"
block_comment "/**\n * The disk start number stored in this extra field."...
method_declaration
modifiers
public "public"
type_identifier "ZipLong"
identifier "getDiskStartNumber"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "diskStart"
; ";"
} "}"
block_comment "/**\n * The disk start number stored in this extra field."...
method_declaration
modifiers
public "public"
void_type "void"
identifier "setDiskStartNumber"
formal_parameters
( "("
formal_parameter
type_identifier "ZipLong"
identifier "ds"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "diskStart"
= "="
identifier "ds"
; ";"
} "}"
method_declaration (+116 nodes collapsed)
} "}"