< prev index next >

src/java.base/share/classes/java/net/JarURLConnection.java

Print this page

        

*** 213,223 **** /** * Return the JAR file for this connection. * * @return the JAR file for this connection. If the connection is * a connection to an entry of a JAR file, the JAR file object is ! * returned * * @throws IOException if an IOException occurs while trying to * connect to the JAR file for this connection. * * @see #connect --- 213,224 ---- /** * Return the JAR file for this connection. * * @return the JAR file for this connection. If the connection is * a connection to an entry of a JAR file, the JAR file object is ! * returned. The JAR file is also returned if the connection to ! * a JAR file entry fails, but the JAR file itself is accessible. * * @throws IOException if an IOException occurs while trying to * connect to the JAR file for this connection. * * @see #connect
*** 226,236 **** /** * Returns the Manifest for this connection, or null if none. * * @return the manifest object corresponding to the JAR file object ! * for this connection. * * @throws IOException if getting the JAR file for this * connection causes an IOException to be thrown. * * @see #getJarFile --- 227,240 ---- /** * Returns the Manifest for this connection, or null if none. * * @return the manifest object corresponding to the JAR file object ! * for this connection. If the connection is a connection to an ! * entry of a JAR file, the manifest object is also returned if the ! * connection to a JAR file entry fails, but the JAR file itself is ! * accessible. * * @throws IOException if getting the JAR file for this * connection causes an IOException to be thrown. * * @see #getJarFile
*** 246,256 **** * * @return the JAR entry object for this connection, or null if * the JAR URL for this connection points to a JAR file. * * @throws IOException if getting the JAR file for this ! * connection causes an IOException to be thrown. * * @see #getJarFile * @see #getJarEntry */ public JarEntry getJarEntry() throws IOException { --- 250,261 ---- * * @return the JAR entry object for this connection, or null if * the JAR URL for this connection points to a JAR file. * * @throws IOException if getting the JAR file for this ! * connection causes an IOException to be thrown, or if the ! * connection to a JAR file entry fails. * * @see #getJarFile * @see #getJarEntry */ public JarEntry getJarEntry() throws IOException {
< prev index next >