public class Handler extends URLStreamHandlerSE
JarFile
の URLStreamHandler
SE。JarFile.registerUrlProtocolHandler()
修飾子と型 | メソッドと説明 |
---|---|
JarFile | getRootJarFileFromUrl(URLSE url) |
protected int | hashCode(URLSE u) |
protected URLConnectionSE | openConnection(URLSE url) |
protected void | parseURL(URLSE context, StringSE spec, int start, int limit) |
protected boolean | sameFile(URLSE u1, URLSE u2) |
static void | setUseFastConnectionExceptions(boolean useFastConnectionExceptions) URL を接続できないときに、一般的な静的例外をスローできるかどうかを設定します。 |
equalsSE, getDefaultPortSE, getHostAddressSE, hostsEqualSE, openConnectionSE, setURLSE, setURLSE, toExternalFormSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public Handler()
public Handler(JarFile jarFile)
protected URLConnectionSE openConnection(URLSE url) throws IOExceptionSE
URLStreamHandlerSE
の openConnectionSE
IOExceptionSE
protected void parseURL(URLSE context, StringSE spec, int start, int limit)
URLStreamHandlerSE
の parseURLSE
protected int hashCode(URLSE u)
URLStreamHandlerSE
の hashCodeSE
protected boolean sameFile(URLSE u1, URLSE u2)
URLStreamHandlerSE
の sameFileSE
public JarFile getRootJarFileFromUrl(URLSE url) throws IOExceptionSE
public static void setUseFastConnectionExceptions(boolean useFastConnectionExceptions)
useFastConnectionExceptions
- 高速接続例外を使用できる場合。