2026-03-17 13:31:18 -07:00

37 lines
728 B
Java

/*
* Decompiled with CFR 0.152.
*/
package com.tridium.util.jar;
import com.tridium.util.jar.JarEntry;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
public class JarURLConnection
extends URLConnection {
private JarEntry entry;
public int getContentLength() {
return (int)this.entry.getSize();
}
public long getLastModified() {
return this.entry.getTime();
}
public InputStream getInputStream() throws IOException {
return this.entry.getInputStream();
}
public void connect() {
}
public JarURLConnection(URL uRL, JarEntry jarEntry) {
super(uRL);
this.entry = jarEntry;
}
}