detect

Detects the type of the executable file from the provided DataAccessor.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

dataAccessor

the data accessor to read the file header.

Throws

if an I/O error occurs


Detects the type of the executable file from the provided ByteArray.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

data

the data to read the file header.


Detects the type of the executable file from the given path.

Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

path

The path to the file

Detects the type of the executable file from the given path.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

path

The path to the file


Detects the type of the executable file from the given file.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

file

The file


Detects the type of the executable file from the given path.

Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

path

The path to the file

Detects the type of the executable file from the given path.

Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

path

The path to the file

Detects the type of the executable file from the given path.

Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

path

The path to the file

Detects the type of the executable file from the given path.

Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

path

The path to the file

Detects the type of the executable file from the given path.

Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.

Return

the detected FileFormat, or null if the type could not be detected

Parameters

path

The path to the file