Udostępnij za pośrednictwem


JarURLConnection.MainAttributes Property

Definition

Returns the main Attributes for the JAR file for this connection.

public virtual Java.Util.Jar.Attributes? MainAttributes { [Android.Runtime.Register("getMainAttributes", "()Ljava/util/jar/Attributes;", "GetGetMainAttributesHandler")] get; }
[<get: Android.Runtime.Register("getMainAttributes", "()Ljava/util/jar/Attributes;", "GetGetMainAttributesHandler")>]
member this.MainAttributes : Java.Util.Jar.Attributes

Property Value

the main Attributes for the JAR file for this connection.

Attributes

Exceptions

if an I/O exception occurs while retrieving the JarFile.

Remarks

Returns the main Attributes for the JAR file for this connection.

Java documentation for java.net.JarURLConnection.getMainAttributes().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to