mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 13:59:49 -04:00
compatibility constructor for sysinfo.groovy script
This commit is contained in:
parent
2bcb574f28
commit
226559683b
@ -25,6 +25,11 @@ public class MetaAttributes {
|
||||
|
||||
private final Map<String, String> jsonTypeMap;
|
||||
|
||||
// compatibility constructor for sysinfo.groovy script
|
||||
public MetaAttributes(File file) throws IOException {
|
||||
this(file, emptyMap());
|
||||
}
|
||||
|
||||
public MetaAttributes(File file, Map<String, String> jsonTypeMap) throws IOException {
|
||||
this.metaAttributeView = new MetaAttributeView(file);
|
||||
this.fileAttributeView = Files.getFileAttributeView(file.toPath(), BasicFileAttributeView.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user