open
Opens and parses a file from the given data accessor.
Return
A new file instance
Parameters
The data accessor that provides access to the file content
Throws
if the file format is invalid or unsupported
if an I/O error occurs
Opens and parses a file from the given bytes.
Return
A new file instance
Parameters
The bytes that represent the file content
Throws
if the file format is invalid or unsupported
Opens and parses a file from the given path.
Return
A new file instance
Parameters
The path to the file
See also
Throws
if the file format is invalid or unsupported
if an I/O error occurs
if the file does not exist
Opens and parses a file from the given file.
Return
A new file instance
Parameters
The file to open
Throws
if the file format is invalid or unsupported
if an I/O error occurs
if the file does not exist
Opens and parses a file from the given channel.
The channel will be closed after the file is closed.
Return
A new file instance
Parameters
The channel to open
Throws
if the file format is invalid or unsupported
if an I/O error occurs
Opens and parses a file from the given data accessor.
Return
A new file instance
Parameters
The data accessor that provides access to the file content
Throws
if the file format is invalid or unsupported
if an I/O error occurs
Opens and parses a file from the given bytes.
Return
A new file instance
Parameters
The bytes that represent the file content
Throws
if the file format is invalid or unsupported
Opens and parses a file from the given data accessor.
Return
A new file instance
Parameters
The data accessor that provides access to the file content
Throws
if the file format is invalid or unsupported
if an I/O error occurs
Opens and parses a file from the given bytes.
Return
A new file instance
Parameters
The bytes that represent the file content
Throws
if the file format is invalid or unsupported