SecureBlackbox 2020 Java Edition

Questions / Feedback?

ArchivedFile Type

Provides information about the compressed file.

Remarks

Use this type to access compressed file details.

Fields

Action
int

The action to apply to the file.

Use this property to control the action that should be applied to the file during the compression or extraction. The following actions are supported:

atAdd (0)Add the file to the archive
atKeep (1)Keep the existing file in the archive
atUpdate (2)Update the archived file with a fresher copy
atDelete (3)Delete the file from the archive
atExtract (4)Extract the file (extraction only)
atSkip (5)Skip file extraction (extraction only)

CompressedSize
long

The size of the file after compression.

DataSource
int

The type of the data source for this entry.

Use this property to control the data source for this entry.

fdsFile (0)The data for this entry should be taken from the file provided via LocalPath.
fdsStream (1)The data is going to be provided on-the-fly via the FileStream property.
fdsBuffer (2)The data is going to be provided on-the-fly via the FileData property.

Directory
boolean

Tells if the entry is a directory or a regular file.

EncryptionAlgorithm
String

Returns the symmetric algorithm that was used to encrypt the file.

EncryptionKeyLength
int

Returns the length, in bits, of the encryption key.

EncryptionType
int

The type of encryption applied to the file.

Use this property to find out what kind of encryption was applied to the file.

aetDefault (0)Default encryption (not used for already encrypted files)
aetNoEncryption (1)No encryption
aetGeneric (2)Standard ZIP encryption
aetWinZip (3)WinZIP-based encryption
aetStrong (4)Strong encryption

FileName
String

The original name of the compressed file or folder.

Folder
String

The containing folder of the entry.

LocalPath
String

The local path associated with this entry. It typically specifies the source path that the data should be taken from, or the destination it should be extracted to.

MTime
String

The entry's last modification time.

NewFile
boolean

Indicates whether the entry corresponds to a file to be added to the archive.

Path
String

The full internal path of the archived entry.

SignatureCount
int

The number of signatures covering the entry.

Signed
boolean

Indicates whether the entry is signed.

Size
long

The size of the file before compression.

Constructors

public ArchivedFile();

Creates a new ArchivedFile object.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Java Edition - Version 20.0 [Build 8156]