class_body
{ "{"
field_declaration
modifiers
private "private"
type_identifier "CpioArchiveEntry"
variable_declarator
identifier "entry"
; ";"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "closed"
= "="
false "false"
; ";"
block_comment "/** indicates if this archive is finished */"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "finished"
; ";"
block_comment "/**\n * See {@link CpioArchiveEntry#setFormat(short)} for"...
field_declaration
modifiers
private "private"
final "final"
integral_type
short "short"
variable_declarator
identifier "entryFormat"
; ";"
field_declaration (+29 nodes collapsed)
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "crc"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "written"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "OutputStream"
variable_declarator
identifier "out"
; ";"
field_declaration
modifiers
private "private"
final "final"
integral_type
int "int"
variable_declarator
identifier "blockSize"
; ";"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "nextArtificalDeviceAndInode"
= "="
decimal_integer_literal "1"
; ";"
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 output stream with a specified"...
constructor_declaration (+38 nodes collapsed)
block_comment "/**\n * Construct the cpio output stream with a specified"...
constructor_declaration (+45 nodes collapsed)
block_comment "/**\n * Construct the cpio output stream with a specified"...
constructor_declaration
modifiers
public "public"
identifier "CpioArchiveOutputStream"
formal_parameters (+28 nodes collapsed)
constructor_body
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "out"
= "="
identifier "out"
; ";"
switch_expression (+52 nodes collapsed)
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "entryFormat"
= "="
identifier "format"
; ";"
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 * Construct the cpio output stream. The format for "...
constructor_declaration (+24 nodes collapsed)
block_comment "/**\n * Construct the cpio output stream. The format for "...
constructor_declaration (+32 nodes collapsed)
block_comment "/**\n * Check to make sure that this stream has not been "...
method_declaration (+39 nodes collapsed)
block_comment "/**\n * Begins writing a new CPIO file entry and position"...
method_declaration (+259 nodes collapsed)
method_declaration (+220 nodes collapsed)
method_declaration (+413 nodes collapsed)
method_declaration (+345 nodes collapsed)
method_declaration (+365 nodes collapsed)
block_comment "/*(non-Javadoc)\n * \n * @see\n * org.apache.common"...
method_declaration (+234 nodes collapsed)
block_comment "/**\n * Writes an array of bytes to the current CPIO entr"...
method_declaration (+262 nodes collapsed)
block_comment "/**\n * Finishes writing the contents of the CPIO output "...
method_declaration (+188 nodes collapsed)
block_comment "/**\n * Closes the CPIO output stream as well as the stre"...
method_declaration (+67 nodes collapsed)
method_declaration (+66 nodes collapsed)
method_declaration (+76 nodes collapsed)
method_declaration (+282 nodes collapsed)
block_comment "/**\n * Writes an ASCII string to the stream followed by "...
method_declaration (+105 nodes collapsed)
block_comment "/**\n * Creates a new ArchiveEntry. The entryName must be"...
method_declaration (+58 nodes collapsed)
} "}"