class_body
{ "{"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "closed"
= "="
false "false"
; ";"
field_declaration
modifiers
private "private"
type_identifier "CpioArchiveEntry"
variable_declarator
identifier "entry"
; ";"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "entryBytesRead"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "entryEOF"
= "="
false "false"
; ";"
field_declaration (+21 nodes collapsed)
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "crc"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "InputStream"
variable_declarator
identifier "in"
; ";"
line_comment "// cached buffers - must only be used locally in the class ("...
field_declaration (+22 nodes collapsed)
field_declaration (+22 nodes collapsed)
field_declaration (+22 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
integral_type
int "int"
variable_declarator
identifier "blockSize"
; ";"
block_comment "/**\n * The encoding to use for filenames and labels.\n "...
field_declaration
modifiers
private "private"
final "final"
type_identifier "ZipEncoding"
variable_declarator
identifier "zipEncoding"
; ";"
line_comment "// the provided encoding (for unit tests)"
block_comment "/**\n * Construct the cpio input stream with a blocksize "...
constructor_declaration (+29 nodes collapsed)
block_comment "/**\n * Construct the cpio input stream with a blocksize "...
constructor_declaration (+30 nodes collapsed)
block_comment "/**\n * Construct the cpio input stream with a blocksize "...
constructor_declaration (+34 nodes collapsed)
block_comment "/**\n * Construct the cpio input stream with a blocksize "...
constructor_declaration
modifiers
public "public"
identifier "CpioArchiveInputStream"
formal_parameters
( "("
formal_parameter
modifiers
final "final"
type_identifier "InputStream"
identifier "in"
, ","
formal_parameter
integral_type
int "int"
identifier "blockSize"
, ","
formal_parameter
type_identifier "String"
identifier "encoding"
) ")"
constructor_body
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "in"
= "="
identifier "in"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "blockSize"
= "="
identifier "blockSize"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "zipEncoding"
= "="
method_invocation
identifier "ZipEncodingHelper"
. "."
identifier "getZipEncoding"
argument_list
( "("
identifier "encoding"
) ")"
; ";"
} "}"
block_comment "/**\n * Returns 0 after EOF has reached for the current e"...
method_declaration (+45 nodes collapsed)
block_comment "/**\n * Closes the CPIO input stream.\n * \n * @thr"...
method_declaration (+49 nodes collapsed)
block_comment "/**\n * Closes the current CPIO entry and positions the s"...
method_declaration (+46 nodes collapsed)
block_comment "/**\n * Check to make sure that this stream has not been "...
method_declaration (+39 nodes collapsed)
block_comment "/**\n * Reads the next CPIO file entry and positions stre"...
method_declaration (+389 nodes collapsed)
method_declaration (+43 nodes collapsed)
block_comment "/**\n * Reads from the current CPIO entry into an array o"...
method_declaration (+390 nodes collapsed)
method_declaration (+94 nodes collapsed)
method_declaration (+73 nodes collapsed)
method_declaration (+81 nodes collapsed)
method_declaration (+413 nodes collapsed)
method_declaration (+317 nodes collapsed)
method_declaration (+336 nodes collapsed)
method_declaration (+80 nodes collapsed)
block_comment "/**\n * Skips specified number of bytes in the current CP"...
method_declaration (+196 nodes collapsed)
method_declaration (+25 nodes collapsed)
block_comment "/**\n * Skips the padding zeros written after the TRAILER"...
method_declaration (+97 nodes collapsed)
block_comment "/**\n * Checks if the signature matches one of the follow"...
method_declaration (+281 nodes collapsed)
} "}"