JarFile.open constructor
JarFile.open(
- String path
Reads the central directory of the jar at path.
Throws a FormatException for a file that is not a readable zip.
Implementation
factory JarFile.open(String path) {
final bytes = File(path).readAsBytesSync();
return JarFile._(path, bytes, _readCentralDirectory(bytes, path));
}