- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
33 lines
924 B
Java
33 lines
924 B
Java
package com.ironsource;
|
|
|
|
import java.io.File;
|
|
import org.json.JSONException;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class zf extends File {
|
|
public zf(String str) {
|
|
super(str);
|
|
}
|
|
|
|
public zf(String str, String str2) {
|
|
super(str, str2);
|
|
}
|
|
|
|
public JSONObject a() throws JSONException {
|
|
JSONObject jSONObject = new JSONObject();
|
|
jSONObject.put("name", getName());
|
|
jSONObject.put("path", getPath());
|
|
jSONObject.put("lastModified", lastModified());
|
|
if (isFile()) {
|
|
jSONObject.put("size", length());
|
|
}
|
|
return jSONObject;
|
|
}
|
|
|
|
@Override // java.io.File
|
|
public String toString() {
|
|
return "ISNFile(name: " + getName() + ", path: " + getPath() + ", isFile: " + isFile() + ", isDirectory: " + isDirectory() + ", lastModified: " + lastModified() + ", length: " + length() + ")";
|
|
}
|
|
}
|