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.
Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.
Return
A new file instance
Parameters
The path to the file
Throws
if the file format is invalid or unsupported
if an I/O error occurs
if the platform does not support file access
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 path.
Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.
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 platform does not support file access
if the path string cannot be converted to a Path
if the file does not exist
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.
Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.
Return
A new file instance
Parameters
The path to the file
Throws
if the platform does not support file access
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 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.
Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.
Return
A new file instance
Parameters
The path to the file
Throws
if the file format is invalid or unsupported
if an I/O error occurs
if the platform does not support file access
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.
Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.
Return
A new file instance
Parameters
The path to the file
Throws
if the file format is invalid or unsupported
if an I/O error occurs
if the platform does not support file access
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.
Note: The behavior of this method may vary across different platforms, depending on how file paths are resolved and accessed.
Return
A new file instance
Parameters
The path to the file
Throws
if the file format is invalid or unsupported
if an I/O error occurs
if the platform does not support file access